detecting a partial file download (wodSFTP / wodSFTP.NET / wodSFTPdll)

by tsnelling, (3104 days ago)

some of our remote sites have poor internet, and are dropping connection during a file download.

Is there a method of checking a file to determine that it was only partially downloaded?
And also, can I set it or flag it as a partial download?

The file attributes don't appear to be affected (same attributes as a fully downloaded file).

Thanks,
Tim Snelling

locked

detecting a partial file download

by Jasmine, (3104 days ago) @ tsnelling

Hi Tim.

Does Done event fire after the download? It should, and it should contain 'no error' value in its arguments. If you don't see it, or see an error, you can flag the file transfer as unsuccessful.

Jasmine.

locked

detecting a partial file download

by tsnelling, (3104 days ago) @ Jasmine

I can test this by disabling my wireless connection during a download.
After a couple minutes, the Done Event fires with Error Code 30027 (for my test).
I added code to delete the file, for this Error Code (30027).

Is there a list of Error Codes?

Thanks,
Tim Snelling

locked

detecting a partial file download

by tsnelling, (3104 days ago) @ Jasmine

got it,
Thanks,

I looked in the pdf file, and didn't see it there.
then after i replied, asking for an Error list, I found it in the Help File.

Thanks Again,
Tim

locked