ftpRenameFile Step

Last published at: May 3rd, 2021

Description:

Rename file in FTP server.  

Inputs

  • ftpConnection – Select FTP connection from dropdown
  • filePath – The relative path of the file in FTP server. Ex: - /folder1/test.txt.
  • renameTo – File name to be renamed to. Ex:- testNew.txt.

Returns

  • True – step executed successfully
  • False – step failed to execute 

Usage:

To use this step, configure FTP in FlowWright FTP Connections.

Example:

Let’s build and execute the ftpRenameFileDef example.        

  • Create a new definition called “ftpRenameFileDef”
  • Select the definition and click the “design” button
  • Drag a ftpRenameFile step to the canvas
  • Connect the dots between the start and ftpRenameFile step

  • Click on the “ftpRenameFile” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic
  • Save the workflow definition, create a workflow instance and execute.  Step should rename file in FTP server.