Sign in to follow this  
Followers 0
iceberg

inetget

4 posts in this topic

Hi,

Whenever I download a file from the Net, the date accessed, modified or created always shows the time n date when the file was dowloaded.

how can i write it such that it shows the date n time the file was originally created, modified n accessed?

thanks.


mouse not found....scroll any mouse to continue.

Share this post


Link to post
Share on other sites



Hi!

I think that is impossible, cause on your machine, the downloaded file is creted again and just filled with the data from the internet.

Please correct me, professionals, if I'm wrong.

peethebee


vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

Share this post


Link to post
Share on other sites

I'm not sure how this would be done using the http protocol, but you could use the FTPFindFirstFile API function for ftp downloads.

You would need to create a structure to receive the file information, and then convert the time to a usable format.

FTPFindFirstFile- http://msdn.microsoft.com/library/default....ndfirstfile.asp

DLL Reference- AutoIt Help


[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

Share this post


Link to post
Share on other sites

peethebee, thanks for the info.

Skruge, too bad...my network does not allow for FTP connections.

thanks alot tho. guess i have to place the file in a shared folder n copy from there, than to inetget. filecopy...i believe retains the date n time.


mouse not found....scroll any mouse to continue.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0