FTP / SFTP command
- Updated: 2023/02/10
FTP / SFTP command
Use this command to automate any FTP or SFTP operations.
FTP (File Transfer Protocol) is a standard network protocol used to transfer files from one host to another host over a TCP-based network, such as the Internet. The FTP/SFTP command can automate the following:
- File uploads and downloads
- Back up websites
- Secure FTP for secure remote file transfer
To use this command, ensure that Visual C++ Redistributable for Visual Studio 2015 is installed on the Enterprise Client machine. Download the redistributable from the Microsoft website: https://www.microsoft.com/en-in/download/details.aspx?id=48145
To learn more, search for the Automating File Transfer Using the FTP Command course in Automation Anywhere University: RPA Training and Certification (A-People login required).
- Connect
- Connects to the FTP/SFTP server.
- Disconnect
- Terminates the connection to an FTP/SFTP server.
- Put Files
- Uploads one or more files from a folder.
- Get Files
- Downloads one or more files to a local machine from an FTP/SFTP folder.
- Put Folder
- Uploads an entire folder from a local machine to an FTP/SFTP server.
- Get Folder
- Downloads an entire folder from an FTP/SFTP server to a local machine.
- Delete Files
- Deletes one or more files from an FTP/SFTP folder.
- Rename Files
- Renames one or more files in an FTP/SFTP folder.
- Create Folder
- Creates a folder on an FTP/SFTP server.
- Delete Folder
- Deletes a folder (including all subfolders and files within it) from an FTP/SFTP server.
- Change Folder
- Moves to a different folder on an FTP/SFTP server.