Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

daunter

Posts

13

Joined

Tue May 11, 2010 9:32 pm

File Upload Performance Problem with SFTP

by daunter » Tue May 11, 2010 9:44 pm

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 !!!
no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Tue May 11, 2010 11:03 pm

no avatar
User

daunter

Posts

13

Joined

Tue May 11, 2010 9:32 pm

by daunter » Tue May 11, 2010 11:17 pm

no avatar
User

daunter

Posts

13

Joined

Tue May 11, 2010 9:32 pm

by daunter » Tue May 11, 2010 11:56 pm

no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Wed May 12, 2010 6:20 am

These were added fairly recently. You probably need to upgrade.

- Hans (EnterpriseDT)
no avatar
User

daunter

Posts

13

Joined

Tue May 11, 2010 9:32 pm

by daunter » Wed May 12, 2010 5:04 pm

I use 5.0.6.0 version ,

isn't it possible to iplement concurrent transfers with this version ? With ThreadPool etc ?
no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Wed May 12, 2010 7:07 pm

OK. The feature was added in 7.0. Sure, you can definitely implement it yourself by using multiple threads.

- Hans (EnterpriseDT)

Who is online

Users browsing this forum: No registered users and 5 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign