public int MaxConnections { get; set; }Public Property MaxConnections As Integer
Get
Setpublic:
property int MaxConnections {
int get ();
void set (int value);
}member MaxConnections : int with get, setWhen concurrent transfers are EnabledExFTPConnection (and SecureFTPConnection) will maintain a pool of up to MaxConnections-1 'slave' connections in addition to its own 'main' connection. Many servers limit the number of connections a single client may make to the server, so the number of active connections may be less than MaxConnections.
Interactive applications, such as classic FTP client apps, can benefit from reserving one connection for user-actions, such as fetching directory listings. Thus when PoolMode is set to ReserveMainConnection the main connection will not usually be used for transfers. This is not an issue in non-interactive applications in which case the PoolMode may be set to UseMainConnection. The default value of PoolMode is Automatic where the main connection will used if ActiveForm is not null.