Skip to main content

Download Files

AutomatR.FTP.DownloadFiles

The "Download Files" activity in AutomatR is part of the FTP activities package, allowing automation processes to download specified files from an FTP server. This activity streamlines the process of retrieving files from the FTP server, enhancing the efficiency of automation workflows.

Properties

NameDescription
Input
User NameProvides a valid username to establish a connection with the FTP server. String variables containing the username.
PasswordProvides the password for the username to establish a connection with the FTP server. String variables containing the password.
HostProvides a valid host credential to establish a connection with the FTP server. String variables containing the host information.
Server PathProvides the server path for the file you wish to download. For example, "/ServerFile/downloadfile.doc". String variables containing the server path.
Destination PathBrowse or specify the full path on your local system where you would like to store the downloaded file from the FTP server. For example, "D:\FTP\DownloadFile". String variables containing the local destination path.
OverwriteIf checked, it enables you to download a file with the same name as the one in the destination location. Boolean variables to determine whether to overwrite existing files.
Miscellaneous
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Download Files" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. For example, if the delay is 1000 milliseconds or 1 sec, set it to 1.

How to use:

  1. Drag and drop the "Download Files" activity onto the workflow.
  2. Configure the properties by specifying the FTP server credentials, server path for the file to download, local destination path, and optional delay.
  3. Optionally, configure the overwrite property based on whether you want to overwrite existing files.
  4. Execute the workflow to download the specified file from the FTP server to the local destination.

Example: Consider an example where the "Download Files" activity is used to download a file named "downloadfile.doc" from the FTP server:

Download Files:
Delay: 0
Password: "your_password"
User Name: "your_username"
Host: "ftp.yourftpserver.com"
Server Path: "/ServerFile/downloadfile.doc"
Destination Path: "D:\\FTP\\DownloadFile"
Overwrite: true

In this example, the activity downloads the "downloadfile.doc" file from the specified server path on the FTP server to the local destination path "D:\FTP\DownloadFile". The overwrite property is set to true, allowing the activity to overwrite the file if it already exists in the destination path.