Attachment Download

Topics: Help requests, Issues
Oct 20, 2014 at 9:29 PM
Hi Pavel,

I am running the latest release of 2.0.0.16 and encountering a random issue where by the attachment is at times corrupt, but executing the same process in testing it works fine.

My question is.......

Does the Attachment.Download() method return once the file has been FULLY downloaded and ready for the Attachment.Save() method to be called? My thought is that it may be saving BEFORE it have fully downloaded?

I have also noticed on the Sample App that you do NOT use the .Save() and instead use File.WriteAllBytes() - is there a reason why?

Finally, other than the .Downloaded() property, is there another way to identify is the file has fully downloaded and ready to be saved?

Many thanks for any guidance you may have.