Controls whether or not the main connection is included in the pool.

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

Syntax

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

Remarks

Concurrent transfers are executed on a set of connections called a "pool". This set of connections is maintained alongside the main ExFTPConnection (or SecureFTPConnection) object. If PoolMode is [!:PoolMode.UseMainConnection] then the main connection will be included in the pool and therefore made available for concurrent transfers. This is often not desirable in GUI applications where it's desirable to keep a connection available for servicing user-actions, such as listing directories; in these cases PoolMode should be set to [!:PoolMode.ReserveMainConnection]. If the PoolMode is set to to [!:PoolMode.Automatic] (the default) then the component will automatically try to determine the most appropriate mode.

See Also