You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
Description
This function initiates an asynchronous FTP download. If a download is already taking place on this connection (identified by host, port, user, and password), the transfer is enqueued and commenced once the current transfer is finished. Provide _OnDoneEvent and _OnErrorEvent callback functions to be notified on transfer completion and errors (ref. section 4.6.11).
Signature
bool xcon.Download (string, string, number)
Parameters
Name | Type | Mandatory/Optional | Description |
| string | M | connection handle |
| string | M | remote file name |
| number | M | local file name |
Return
Type | Description |
bool | initiation status; true if successful, otherwise NIL. |