You should delete the "Destination" file before you write to it using binary as if the data already in the file in longer than that been downloaded, then the downloaded data will only go over the top of the existing data, causing corruption of the file.
I.e.
code:
Kill Destination
If this is the existing data:
hello my name is thomas
and the downloaded data is :
hello my name is tom
After writing it to the file you will end up with
hello my name is tommas
I.e. Corruption. Im just gonna look at your code now to see if the downloading bit is alright,let me know if youve already sorted the problem.
Tah, Hah