FTP Client Configuration

The FTP Client provides some CDL configuration items that can be used to tune the performance and behaviour of the client.

CYGNUM_NET_FTPCLIENT_BUFSIZE

The FTP data transfer functions buffer the data as it passes between systems and this option controls the size of the dynamically allocated buffer. The buffers are allocated using the standard malloc() interface.

CYGNUM_NET_FTPCLIENT_TIMEOUT_RX

This option controls the default timeout in seconds used when waiting for connection or data reception. It is used to set the SO_RCVTIMEO for the overall control and data socket connections, as well as the individual read() operations. The CDL value can be over-ridden by a run-time supplied value when using the extended API.

CYGNUM_NET_FTPCLIENT_TIMEOUT_TX

This option controls the default timeout in seconds used when waiting for data transmissions to complete. It is used to set the SO_SNDTIMEO for the overall control and data socket connections, as well as the individual write() operations. The CDL value can be over-ridden by a run-time supplied value when using the extended API.

2017-02-09
Documentation license for this page: Open Publication License