edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Number of seconds spent "sleeping" during multiple FTP/FTPS data transfers.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public virtual int MultiTransferSleepTime { get; set; }
Visual Basic
Public Overridable Property MultiTransferSleepTime As Integer
	Get
	Set
Visual C++
public:
virtual property int MultiTransferSleepTime {
	int get ();
	void set (int value);
}

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