class ftp_data_sender :?tls:(module Netsys_crypto_types.TLS_CONFIG) * string option * string option -> ?protector:ftp_protector -> esys:Unixqueue.event_system -> mode:transmission_mode -> local_sender:local_sender -> descr:Unix.file_descr -> timeout:float -> timeout_exn:exn -> unit ->
object
..end
This engine sends data over a FTP data connection coming from a local sender. The socket must already be open.
It is ensured that local_sender
is always closed after operation
(whether successful or not). The socket descr
remains open.
tls
: may be set to (config, peer_name, resume_data)
method local_sender : local_sender
The local sender. It is closed after usage.