FTP files

Table of contents


Description

To work with files on an FTP server, use the FTP Files action. With it you can:

  • Download file from server.

  • Upload the file to the server.

  • Download files from the server.

  • Upload files to the server.

  • Delete a file on the server.

  • Rename the file on the server.

How to add an action to a project?

Via context menu Add Action -> FTP -> FTP files

Or use smart search .

What is it used for?

  • Download project data files, which are located on the FTP server.

  • Save project data to FTP server.

  • Delete project data files from FTP server.

  • Rename files on FTP server.

How to work with an action?

In order to start working with this action, you need to configure the FTP connection. How to do this is described in the FTP Settings article.

The action has the following basic settings:

  • Path on server - the path to the required file on the server.

  • Local path - the path on your computer where you want to save the downloaded file.

  • Path type - A relative or absolute path on the server. With relative - the path will be built relative to the current folder, with absolute - the path is specified from the system root.

Download a file from the server

Used to download a file from the server to your computer.


Upload a file to the server

Used to upload a file from your computer to the server.


Download files from the server

Used to download multiple files from the server to your computer. File paths must be specified in the list. Working with the list is described in the article List. In one pass, one line from the list is taken, containing the path to the file.


Upload files to the server

Used to upload multiple files from your computer to the server. File paths must be specified in the list. Working with the list is described in the article List. In one pass, one line from the list is taken, containing the path to the file.


Delete a file from the server

Used to delete a file on the server. The path to the file must be specified.


Rename a file on the server

Used if you need to rename a file on the server. The path to the file and the new file name must be specified.


Usage example

Download files from FTP by list

The list contains paths to files that need to be downloaded from the FTP server.

  1. We get the number of lines in the list.

  2. If the list is not empty, then download the file from the list from the FTP server

  3. Remove the line containing the downloaded file from the list

  4. Go to the beginning of the cycle (step 1).

  5. As soon as the number of lines becomes 0, we display a notification that all files have been downloaded.