edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Determines whether or not "sleeping" is enabled during multiple FTP/FTPS data transfers.

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

Syntax

C#
public virtual bool MultiTransferSleepEnabled { get; set; }
Visual Basic
Public Overridable Property MultiTransferSleepEnabled As Boolean
	Get
	Set
Visual C++
public:
virtual property bool MultiTransferSleepEnabled {
	bool get ();
	void set (bool 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