getting age of downloaded file?

bonedoc

Well-known member
Joined
May 4, 2006
Messages
112
Programming Experience
Beginner
I am using:

myclient.downloadfile("webpage","destination")

to dowload a file. But, when it downloads it, it says the creation time is the time I downloaded it, not the time the file was really created weeks ago. Is there a way to download the age before I download it. if not, is there a way to download it and get its creation time, or last time modified before windows alters this?
 
I suggest you download it, right now, and then go to properties on it in windows, and see which of those dates is what you want

Last Modified, probably...

If so, then ask for that date from the System.IO.File, not the CreatedDate
 
Back
Top