login about faq

I guess the answer also depends on the (S)FTP Server, but how would you advise I implement concurrent downloads? Can I use the same CkFtp2 handle and initiate multiple GetFile's on it (in different threads)? Or should I use multiple CkFtp2 connections?

Is the answer different for CkSftp?

Thanks.

asked Aug 19 '12 at 23:56

Gert's gravatar image

Gert ♦
629141824


Gert,

To do multiple concurrent downloads (or uploads), each thread should have its own instance of the FTP or SFTP object, each with its own connection. It's not possible to do multiple concurrent transfers with a single object instance.

-Matt

link

answered Aug 20 '12 at 10:26

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Thank you Matt!

(Aug 20 '12 at 12:25) Gert ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×21
×9
×2
×2

Asked: Aug 19 '12 at 23:56

Seen: 1,698 times

Last updated: Aug 20 '12 at 12:25

powered by OSQA