edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

ConcurrentTransferSettingsPoolMode Property

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

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public PoolMode PoolMode { get; set; }

Property Value

PoolMode

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 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 ReserveMainConnection. If the PoolMode is set to to Automatic (the default) then the component will automatically try to determine the most appropriate mode.

See Also