Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

NameTypeMandatory/OptionalDescription

stringMconnection handle

stringMlocal file name

numberMremote file name

Return

TypeDescription
boolinitiation status; true if successful, otherwise NIL.