Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO

Problem with ConcurrentTransferSettings.MaxConnections

0 votes
53 views
asked Feb 17 in edtFTPnet by rodmunoz (120 points)
Hi I recently downloaded the trial version of edtFTPnetPro with the objetive test the open concurrent conection to the same ftp server, but i use de command ftpConnection.ConcurrentTransferSettings.MaxConnections = 5 connection but only open 4 o 3 connection in the server when i transfer files simultaneously using thread en .NET

This is part of my code when i setting the connection.

// set the license

                ftpConnection.LicenseOwner = "TrialUser";

                ftpConnection.LicenseKey = "898-6810-4211-2748";

 

                ftpConnection.ServerAddress = Properties.Settings.Default.ServerFtp;

                ftpConnection.UserName = Properties.Settings.Default.ServerUser;

                ftpConnection.Password = Properties.Settings.Default.ServerPassword;

                ftpConnection.ServerPort = Properties.Settings.Default.ServerPort;

                ftpConnection.ConcurrentTransferSettings.Enabled = true;

                ftpConnection.ConcurrentTransferSettings.MaxConnections = 5;

                ftpConnection.Connect();

thanks for you support

Regards

Rodrigo Munoz.

1 Answer

0 votes
answered Feb 17 by support2 (144,210 points)
I think one connection is always kept as the "master" connection and so if you want 5 connections for transferring, set it to 6.
...