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 upload. If an upload 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.Upload (string, string, number)
Parameters
Name | Type | Mandatory/Optional | Description |
| string | M | connection handle |
| string | M | local file name |
| number | M | remote file name |
Return
Type | Description |
bool | initiation status; true if successful, otherwise NIL. |