# Class Ftp_data_endpoint.ftp_data_sender

    class ftp_data_sender : esys:Unixqueue.event_system -> mode:transmission_mode -> local_sender:local_sender -> descr:Unix.file_descr -> 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.

Inherits

- `Ftp_data_endpoint.ftp_data_engine`

    method local_sender : local_sender

The local sender. It is closed after usage.