ftpRenameFolder Step
Description:
This step renames an existing folder on the 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's FTP Connections.

A sample FTP connection configuration is provided here for reference.

Example:
Let’s build and execute the “ftpRenameFolderDef” example.
- Create a new definition named “ftpRenameFolderDef” and open it in designer mode.
- Drag an “ftpRenameFolder” step to the canvas.
- Connect the dots between the “Start” and “ftpRenameFolder” steps, as shown above.
- Define a variable or a global to store the FTP folder path.
- Click the “ftpRenameFolder” step to configure its “Required” properties. Enter a step name, the source folder path to rename, and the new name. Then click the Save button. Note: Click the "AI Predict" button to have Copilot add new process steps that match your process description.

- The “Logging” configuration is necessary for documentation and to measure workflow progress and percent complete. This is done by configuring the step state and percent fields individually, as shown below. Configure the “Logging” using the following properties.

- Save the process definition, create a new instance, and execute it. Render the process instance. Click the process step to view its properties. The step should rename the existing folder on the FTP server.
Definition Sample:
You may download the sample definition(s) from the link provided and later import them (drag-and-drop) into your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after the import. Then, save the definition to confirm the changes.