Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

xiaoyu1985ban

Posts

30

Joined

Wed Mar 18, 2009 1:31 am

Dose edtFTPj support multithread?

by xiaoyu1985ban » Wed Mar 18, 2009 1:52 pm

Suppose I have two files to upload ,usually I have to create an FileTransferClient Object named ftp
then call ftp.upload(file1) and ftp.upload(file2). How about creating two FileTransferClient Objects,each Object upload one file,just like ftp1.upload(file1),ftp2.upload(files2) at the same time ?Will it work?
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Dose edtFTPj support multithread?

by support2 » Wed Mar 18, 2009 6:41 pm

Yes. In fact our edtFTPj/PRO product has a connection pool of FTP clients to achieve a similar sort of thing.
no avatar
User

xiaoyu1985ban

Posts

30

Joined

Wed Mar 18, 2009 1:31 am

by xiaoyu1985ban » Wed Mar 18, 2009 6:50 pm

Fine!
Well, how about edtFTPj/Free?I mean the client can download or upload several files at the same time, if the server allows.
no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Wed Mar 18, 2009 10:34 pm

Yes. The first part of Bruce's answer was intended to answer that question. You can do that in j/Free with two instances. What he was saying was that in edtFTPj/PRO you can do that with one instance.

- Hans (EnterpriseDT)

Who is online

Users browsing this forum: No registered users and 12 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign