FTP / SFTP package - Use the FTP / SFTP package to automate file transfers, folder operations, and server connections over FTP and SFTP protocols in your automation bots.

Automation 360

Use the FTP / SFTP package to automate file transfers, folder operations, and server connections over FTP and SFTP protocols in your automation bots.

An FTP/SFTP server hosts the files to share. The client accesses, downloads, or uploads files to the server. The transfer of data between the client and server is done using a TCP/IP network, which is the standard protocol of communication over the internet.
  • The following are some forms of authentication for an FTP server:
    • User credentials: Requires an FTP username and password.
    • Anonymous: This authentication type is turned on for sites where files are available for public access and users do not need to identify themselves to the server.
    • Key-based: SFTP authentication is usually done with a private and public key. The system generates a key pair automatically. The SFTP client holds the private key; the SFTP server holds the corresponding public key. During authentication, the client proves possession of the private key without transmitting it.
  • FTP can run in active or passive transfer mode.
    • In the active mode, the client informs the server about the port used for listening and starts listening for incoming data connections from the server.
    • In the passive mode, the client receives a server IP address and server port number from the server. The client opens a data connection to the server IP address and server port number that are received. Most organizations prefer passive mode because it requires fewer or no changes to firewall settings.
  • FTP supports binary and ASCII file transfer types:
    • Use the binary option when transferring executable files.
    • Use the ASCII option when transferring text files.

Before you start

Perform the following actions within the FTP / SFTP package.

  1. Establish a connection with the FTP/SFTP server using the Connect action. When establishing a connection, associate the FTP/SFTP server details with a session name. Use the same session name for all corresponding actions.
  2. Use the FTP/SFTP actions to automate a task. The actions enable you to perform the following tasks:
    • Upload, download, delete, or rename files.
    • Upload, download, create, or delete folders.
    • Navigate to the parent folder or a specific folder.
  3. After you have automated the tasks related to FTP / SFTP, terminate the connection to the server using the Disconnect action.
Note: The FTP / SFTP package does not support SFTP over SSH1. Use SSH2 instead.

View how to use FTP/SFTP connect action in the following video:

Video demonstrating how to use the FTP-SFTP connect action in Automation 360

Actions in the FTP / SFTP package

The FTP / SFTP package includes the following actions:
Note: Regarding the use of a semicolon (;) in folder or file names, the following guidelines apply:
  • You can use a semicolon (;) in the folder name for the following actions: Delete or Create folder
  • You must not use a semicolon (;) in the folder or file name for other actions, such as the following: Change folder, Delete files, Get files, Get folder, Put files, Put folders, and Rename files
Action Description
Change folder See Change folder action.
Connect See Connect action.
Create folder See Create folder action.
Delete folder See Delete folder action.
Delete files See Delete files action.
Disconnect See Disconnect action.
Get folders See Get folders action.
Get files See Get files action.
Put folders See Put folders action.
Put files See Put files action.
Rename files See Rename files action.