edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

ExFTPConnectionMultiTransferSleepTime Property

Number of seconds spent "sleeping" during multiple FTP/FTPS data transfers.

Namespace:  EnterpriseDT.Net.Ftp
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
public virtual int MultiTransferSleepTime { get; set; }

Property Value

Type: Int32
Remarks

FTP/FTPS uses a separate TCP connection for each data transfer (i.e. upload, download, or directory listing). TCP ports go into a TIME_WAIT state for a number of seconds after each connection, making it unusable for this period. This means that it is possible to run out of TCP ports when multiple files are transferred in a short period of time.

Periodic sleeping can reduce this problem. When enabled through the MultiTransferSleepEnabled property, the connection will wait for MultiTransferSleepTime seconds each time MultiTransferCountBeforeSleep files have been transferred via multiple-transfer operations.

See Also