login about faq

Hi, I was wondering how FTP2 handles local files that are locked when a newer file on the server is being downloaded. Also is there any way to get a list of the files that were not downloaded for this reason?

Thanks Damien

asked Nov 19 '14 at 03:57

Damien%20Byrne's gravatar image

Damien Byrne

Chilkat will detect errors that are likely permission/access errors and will continue with the remainder of the download. There is no list of files, but if your programming language is one that allows callbacks, you can setup event callbacks to get information as each file is downloaded.


answered Nov 20 '14 at 11:44

chilkat's gravatar image

chilkat ♦♦

Hi, thanks for the reply. I've looked through the documentation and I'm a bit unsure where I would record the files. I'm guessing in either OnBeginDownloadFile or OnEndDownloadFile. These get the ftp2 reference and a reference to a event args object that has NumBytes, Path and Skip. The only item I can see that might work is if the file isn't transferred it has 0 in NumBytes. Or do I need to check the file myself? I'd rather not do that as it would add quite a bit of overhead for the transfer (there are a lot of files). Thanks.

(Nov 20 '14 at 20:02) Damien Byrne
Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: Nov 19 '14 at 03:57

Seen: 729 times

Last updated: Nov 20 '14 at 20:02

powered by OSQA