Class type Ftp_client.ftp_method


class type ftp_method = object .. end
An ftp_method is a small procedure doing some task

method connect : (string * int) option
The host and port the FTP method wants to be connected to. If None the current connection is used.
method execute : ftp_client_pi -> state -> unit
This method is called when the ftp_client_pi is connected and the queue of commands is empty.