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.
Upload a file to an FTP server
Connects to an FTP server and uploads the specified file. If username or password are not provided, they are read from the "ftpusername" and "ftppassword" special options. The password is decrypted if it is stored in the UNICODE: encrypted format. The file is uploaded into the optional target subfolder.
| Parameter | Description |
|---|---|
| cmd | FTP server address (e.g. "ftp.example.com") |
| Argument 0 | Full path of the local file to upload |
| 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 | Target subfolder on the FTP server; leave blank to upload to the root |
FtpSend "FTP server address (e.g. "ftp.example.com")", "Full path of the local file to upload", "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", "Target subfolder on the FTP server; leave blank to upload to the root"