Demos

FTP to FTP transfer

5min

With PROCESIO you can automate file transfers between two FTP servers.

Scenario

A call center that records their calls with customers wishes to upload them to an FTP server and depending on their business rules, the file is then moved to another FTP server.

Prerequisites

1. Two FTP servers

2. File to upload to the first FTP server and transfer to the second FTP server

How to

1. Create the SFTP Credentials for the two servers that will be used.

2. Create the following process flow.

Document image


3. Define the variables.

  • fileInput ➜ Input variable of type File.
  • resultOfUpload ➜ Output variable of type Boolean.
  • moveResult ➜ Output variable of type Boolean.
Document image


4. Configure the actions.

a. Upload File

Document image

  • Select FTP server: select the FTP credential of the server you wish to upload the file to.
  • Input file: use the variable that will hold the file you will work with.
  • Target folder: the location on the FTP server that will store the file.
  • Result: use the first confirmation variable you created.

b. Move File

Document image

  • From FTP server: select the FTP server where the file was uploaded by the previous action.
  • From Folder: path to the file.
  • File name: name of the file being moved.
  • To FTP server: use the drop-down to select the FTP server where the file will be moved.
  • To folder: path in the second FTP server where the file will be placed.
  • Result: use the second confirmation variable you created.

5. Save, Validate and Run the process.

6. Add the file you wish to upload inside the modal and click Run.

Document image


7. Click the Check instance button to see the result.