class ftp_client :?event_system:Unixqueue.event_system -> unit ->object..end
The ftp client is a user session that may even span several connections. However, only one server is connected at once.
method exec_e : ftp_method -> unit Uq_engines.engineRuns the method asynchronously as engine.
method exec : ftp_method -> unitRuns the method synchronously. Note that this implies a call of
Unixqueue.run.
method pi : ftp_client_piThe curerent protocol interpreter. It is allowed that a different pi
is created when a new connection is opened.
The pi is first available after running the first method. The
method fails if pi is unavailable.
method run : unit -> unitStarts the event system; same as Unixqueue.run
method configure_timeout : float -> unitConfigures a timeout for both the control and the data connection. This must be done before connecting to a server.
method set_socks5_proxy : string -> int -> unitSets that a SOCKS version 5 proxy is used at this host and port. There is no support for authentication at the proxy. Only passive mode is supported.
method event_system : Unixqueue.event_system
method reset : unit -> unitAborts all current activities if any, and re-initializes the client