xcon.Upload
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.
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. |