class ftp_client :The ftp client is a user session that may even span several connections. However, only one server is connected at once.?event_system:Unixqueue.event_system -> ?onempty:unit -> unit -> unit ->
object
..end
method add : ?onsuccess:(unit -> unit) ->
?onerror:(exn -> unit) -> ftp_method -> unit
When the method could be executed successfully, the function
onsuccess
is called. If an error occurs, the function
onerror
is called instead. (Only soft errors are reported
this way; the queue is continued to be executed.)
TODO: onerror
is currently not called!
method run : unit -> unit
Unixqueue.run