ConcurrentTransferSettingsPoolMode Property
Controls whether or not the main connection is included in the pool.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
public PoolMode PoolMode { get; set; }
Public Property PoolMode As PoolMode
Get
Set
public:
property PoolMode PoolMode {
PoolMode get ();
void set (PoolMode value);
}
member PoolMode : PoolMode with get, set
Property Value
PoolMode
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.