iceberg Posted October 24, 2005 Share Posted October 24, 2005 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. Link to comment Share on other sites More sharing options...
peethebee Posted October 24, 2005 Share Posted October 24, 2005 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 Link to comment Share on other sites More sharing options...
Skruge Posted October 24, 2005 Share Posted October 24, 2005 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] Link to comment Share on other sites More sharing options...
iceberg Posted October 25, 2005 Author Share Posted October 25, 2005 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now