ftpGetFile Step

Last published at: May 2nd, 2023

Description:

Get (Download file from FTP server.  

Inputs

  • ftpConnection – Select FTP connection from dropdown
  • sourceFilePath – The relative path of the file in FTP server. Ex: - /folder1/test.txt
  • destinationFilePath – The physical path to be downloaded to in local.  Ex: - C:\Download

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

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

  • Click on the “ftpGetFile” 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 get/download file from FTP server.