class ftp_client_pi :The client protocol interpreter...?event_system:Unixqueue.event_system -> ?onempty:state -> unit -> ?onclose:unit -> unit -> Unix.file_descr ->
object
..end
has a queue of commands that are sent to the server in turn.
method add_cmd : ?onreply:(state -> reply -> unit) ->
cmd -> unit
onreply
is called.
Due to the FTP specification there may be several replies for
a command: First, zero or more replies with cmd_state = `Preliminary
,
and then exactly one reply with a final state.method send_abort : unit -> unit
ABOR
command, even when a data transfer is
in progress.
TODO - not yet implemented
method run : unit -> unit
Unixqueue.run
method state : state