GEOSoft Posted April 7, 2007 Posted April 7, 2007 Has anyone found a method of getting the file properties of a file on a website? I know we can get size but what about dates like created and modified? George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
Obi-w00t Posted April 7, 2007 Posted April 7, 2007 Has anyone found a method of getting the file properties of a file on a website?I know we can get size but what about dates like created and modified?At first I thought InetGet and FileGetTime but now I see your predicament... Maybe some way of looking at HTTP headers, or some other way of solving your problem (if you want to check when a website changed you can download the html every so often and compare the files).
GEOSoft Posted April 7, 2007 Author Posted April 7, 2007 At first I thought InetGet and FileGetTime but now I see your predicament... Maybe some way of looking at HTTP headers, or some other way of solving your problem (if you want to check when a website changed you can download the html every so often and compare the files).It's not the HTML I'm thinking of. It's Zip and exe mainly. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
magician13134 Posted April 8, 2007 Posted April 8, 2007 Can't you download it to a temp dir and use filegettime? All but date created should remain constant... Visit Magic Soft Inc. for some of my software
GEOSoft Posted April 8, 2007 Author Posted April 8, 2007 Can't you download it to a temp dir and use filegettime? All but date created should remain constant...In the case of exe's I can probably check both date created and date modfied. In the case of a zip it's going to be a different story. What I'm trying to do is create an auto-updater for about 8 files. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
Zedna Posted April 8, 2007 Posted April 8, 2007 (edited) For FTP there are API FtpFileFindFirst, FtpFileFindNext also with informations about date/timelook at this FTP UDFBut for HTTP I don't know. It would be nice to see something ... Edited April 8, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
GEOSoft Posted April 8, 2007 Author Posted April 8, 2007 For FTP there are API FtpFileFindFirst, FtpFileFindNext also with informations about date/timelook at this FTP UDFBut for HTTP I don't know. It would be nice to see something ...Unfortunatly I think it will have to be HTTP. But I might play with the FTP idea and see what I can do with it. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
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