USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Download a file from an FTP server to the local file system
Connects to an FTP server and downloads the specified remote file. If username or password are not provided, they are read from the "ftpusername" and "ftppassword" special options. The password is decrypted if stored in the UNICODE: encrypted format.
| Parameter | Description |
|---|---|
| cmd | FTP server address (e.g. "ftp.example.com") |
| Argument 0 | Path of the file on the FTP server to download |
| Argument 1 | FTP username; leave blank to use the ftpusername special option |
| Argument 2 | FTP password; leave blank to use the ftppassword special option (supports UNICODE: encrypted format) |
| Argument 3 | FTP port number; leave blank to default to port 21 |
| Argument 4 | Local file path to write the downloaded file to |
FtpGet "FTP server address (e.g. "ftp.example.com")", "Path of the file on the FTP server to download", "FTP username; leave blank to use the ftpusername special option", "FTP password; leave blank to use the ftppassword special option (supports UNICODE: encrypted format)", "FTP port number; leave blank to default to port 21", "Local file path to write the downloaded file to"