Above are the log prints. I cannot compare the dates directly but the stamp numbers are different when they should not be. It IS the same file.
Where am i going wrong?
Thanks
Joe
EDIT:
I can see that the modified date is changed when it is downloaded but how would i check it any other way
Yes i realised that when downloading the same file a couple of times. However that works in my favour because once it is downloaded it will pick up the fact that any file on the server with the same name which is uploaded after that will have a higher number therfore newer. ( I Hope)
Just an example (this may not even affect you)
I downloaded a file on 14 Sept, so the Create and Modfied date are set to 14 Sept.
When I copied it today to somewhere, the new file had a create date of 20 Sept but a Modified date of 14 Sept.
...so well...im not sure how other filesystems handle this.
but anyway...your idea works great and has some additional advantages.