Rename folder in FTP Server

Last published at: May 14th, 2024

Description:

Rename folder in FTP server.

Inputs

  • ftpConnection – Select FTP connection from dropdown
  • folderPath – The relative path of the folder in FTP server. Ex: - /folder1.
  • renameTo – Folder name to be renamed to. Ex: - folder2.

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 ftpRenameFolderDef example.         

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

  • Click on the “ftpRenameFolder” 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 existing directory in FTP server.