Should the main connection be used if all connections in the pool fail?

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

Syntax

C#
public bool FallBackToMainConnection { get; set; }
Visual Basic
Public Property FallBackToMainConnection As Boolean
	Get
	Set
Visual C++
public:
property bool FallBackToMainConnection {
	bool get ();
	void set (bool value);
}

Remarks

Some servers allow only one connection per user. In these cases concurrent transfers are not possible. If, however, concurrent transfers have been enabled and the main connection is not included in the pool (i.e. PoolMode is [!:PoolMode.ReserveMainConnection]), then transfers will fail because no additional connections could be made. In these cases, the main connection may be used as a fallback by having FallBackToMainConnection set to true (the default). This has the potentially undesirable effect of tying up the main connection while files are being transferred, thus making it unavailable for other operations, such as listing directories. In GUI applications, this will result in a less responsive interface.

See Also