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 : Action.action
This method is called when the ftp_client_pi is connected and the queue of commands is empty.

onsuccess must be called when the method has been successfully finished.

onerror must be called when an exception is caught.