Southsoftware.com
   

FTP download

This scheduled task type allows downloading files and folders via FTP, FTPS or SFTP protocol.

Remote dir
Remote directory to download files. The directory must include protocol type, server address and path. Optionally, it can include user name and password, and port number. For example,

ftp://example.com/Documents - This specifies the FTP protocol and the Documents directory under the user’s home directory.
ftp://example.com:221/Documents - This specifies the FTP protocol, FTP server's port 221, and the Documents directory under the user’s home directory.
ftps://user:password@example.com/Documents - This specifies the FTPS protocol, user name and password, and the Documents directory under the user’s home directory.
sftp://user:password@example.com/etc/issue - This specifies the SFTP protocol, user name and password, and /etc/issue directory.
sftp://user@example.com/~/Documents/ - This specifies the SFTP protocol, user name, and the Documents directory under the user’s home directory.

Local dir
Local directory to download files.

Include files
One or more file names separated by semicolon. Wildcards ("*" and "?") are accepted. Since wildcard characters normally match directory separators ("\"), this option may be used to include any files that are in subdirectories. For example,

"1.txt" - include 1.txt file only
"sf\1.txt" - include 1.txt file from "sf" subdirectory only
"*.txt" - include .txt files from all subdirectories
"sf\*.txt" - include .txt files from "sf" and all its subdirectories
"*\*.txt" - include .txt files from all subdirectories (not from main directory)

Exclude files
One or more file names separated by semicolon. Wildcards ("*" and "?") are accepted. Since wildcard characters normally match directory separators ("\"), this option may be used to exclude any files that are in subdirectories. For example,

"1.txt" - exclude 1.txt file only
"sf\1.txt" - exclude 1.txt file from "sf" subdirectory only
"*.txt" - exclude .txt files from all subdirectories
"sf\*.txt" - exclude .txt files from "sf" and all its subdirectories
"*\*.*" - exclude all subdirectories

Passive
Use passive mode like WWW browsers.

SSL/TLS
Use FTP over SSL/TLS (FTPES)

Force UTF8 for file names
Use UTF8 file names even if UTF8 is not enabled on the server. This option is useful if your FTP server understands UTF8 encoded file names but does not report that it has UTF8 support.

FTP servers: Advanced Task Scheduler detects UTF8 support in the following way:
If the FEAT command reports UTF8 support, it sends the "OPTS UTF8 ON" command and assumes that UTF8 is enabled.
If the FEAT command does not report UTF8 support, it sends the "OPTS UTF8 ON" command and assumes that UTF8 is enabled only if server reports a success code.

SFTP servers: use this option if file system on the server machine is UTF8 encoded.

Use password authentication
Use FTP authentication.

Use public key authentication (SFTP) or SSL Certificate (FTPS)
SFTP Public key or SSL Certificate and Private key in pem format. Read more here: Public key and Certificate authentication.

Tunneling proxy
Use tunneling proxy.

Notes:

  • To download a single file, specify its remote and local folders, then specify its file name separately, in the Include files filed.
  • To download files without recursing down directories in the file system, specify "*\*.*" in the Exclude files field.

Returning codes
Error code: Error code of starting the command
Exit code: Number of files downloaded

Related Articles
Automate FTP transfers with Advanced Task Scheduler
Public key and Certificate authentication

Categories: Manual, Shortcut type

Leave a Reply

   
About us   Cookie policy   Privacy policy   Terms of use   Link to us