detecting a partial file download (wodSFTP / wodSFTP.NET / wodSFTPdll)
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
detecting a partial file download
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.
detecting a partial file download
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
detecting a partial file download
Hi Tim.
Yes, you can find list in the helpfile, or online here:
http://www.weonlydo.com/SFTP/Help/wodSFTP-Error-list.html
Regards,
Jasmine.
detecting a partial file download
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