class login_method :This FTP method logs theuser:string -> get_password:(unit -> string) -> get_account:(unit -> string) -> unit ->
ftp_method
user
in. get_password
is called when
the FTP server asks for the password (may be skipped). get_account
is called when the server asks for the account ID (may be skipped).