FTP Connect function

The FTP Connect function in RPA.

Help CentreBuilding Processes

This article describes the RPA FTP functionality to connect to a remote server.

For a full list of available functions, please read FTP functions.


Description

The Connect function establishes a connection to a remote FTP, SFTP, or FTPS server. The connection is stored by name and can be reused across multiple steps in the process.


Setting it up

To use the Connect function, follow these instructions:

{{popups:rpas/add:action=ftp-connect}}

Once on a process map:

  1. Navigate to the process where you would like to add the Connect function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the FTP Connect option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
NameYesText-A name to identify this connection for use in other FTP steps
ProtocolNoSelectsftpThe protocol to use: sftp, ftp, or ftps
HostYesText-The hostname or IP address of the remote server
PortNoText-The port number (defaults to 22 for SFTP, 21 for FTP/FTPS)
UsernameYesText-The username for authentication
Key FilenameNoText-Path to the SSH private key file (SFTP only)

Output variables

This action does not produce output variables.


Errors

ErrorDescription
Connection failedCould not connect to the remote server (check host, port, and network)
Authentication failedThe username, password, or key was rejected by the server

Tips

  • Use SFTP for encrypted, secure file transfers
  • Store credentials in the Vault instead of hardcoding them in the process

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.