Hello ,
I have an application(service) that upload multiple files to a server.
I tried both Upload & UploadMultiple methods , in each case it costs at about 1 seconds per file.
For a 1000 files upload operation , it costs 1000 sec ~= 20 min.
Is there a way(setting) for faster upload operations ? My settings is below :
// Connection Settings
connection = new SecureFTPConnection();
connection.Protocol = FileTransferProtocol.SFTP;
connection.AuthenticationMethod = EnterpriseDT.Net.Ssh.AuthenticationType.Password;
connection.ServerValidation = SecureFTPServerValidationType.None;
connection.ServerAddress = this.host;
connection.ServerPort = this.port;
connection.UserName = this.username;
connection.Password = this.password;
connection.Connect();
// Upload Operation
ftpclient.UploadMultiple("LocalDir", "ServerDir", "*.*", true);
Thank u for any suggesstion !!!