login about faq

Hello!

I use DownloadTreeAsync to download a folder from a FTP server. Is there a way to resume the download if it gest aborted for any reason? (for example connection is lost)

asked Jul 16 '15 at 08:32

sharkyenergy's gravatar image

sharkyenergy
5081621


The solution is to use synclocalTree with mode set at 6.

this will only download missing or new files.

link
This answer is marked "community wiki".

answered Jul 17 '15 at 04:32

sharkyenergy's gravatar image

sharkyenergy
5081621

wikified Jul 17 '15 at 08:47

Not sure if there is any automated method, but you can use the BeginDownloadFile event to skip files that you have already downloaded by setting the Skip parameter to 1.

link

answered Jul 16 '15 at 09:16

jpbro's gravatar image

jpbro ♦
1.1k2618

thanks! I dont seem to be able to access BeginDownloadFile on the DownloadTreeAsync method. Should be supported tough. Any Idea why its not called?

(Jul 16 '15 at 09:18) sharkyenergy
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:

×131
×33
×7

Asked: Jul 16 '15 at 08:32

Seen: 728 times

Last updated: Jul 17 '15 at 08:47

powered by OSQA