class type ftp_method =An
ftp_methodis a small procedure doing some task
Nonethe current connection is used.
method execute :
ftp_client_piis connected and the queue of commands is empty.
onsuccess must be called when the method has been successfully
onerror must be called when an exception is caught.