oleg Posted June 1, 2006 Posted June 1, 2006 Is there any good way to get a list of files and folders located on a http server along with their date / size info ? There is a hex ( 31303030303030 ) reasons i love AutoIt !
w0uter Posted June 1, 2006 Posted June 1, 2006 if you dont have an index.* apache displays that data automatic. but i dont think you where looking for that My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
cppman Posted June 1, 2006 Posted June 1, 2006 Is there any good way to get a list of files and folders located on a http server along with their date / size info ?hmm... not sure, but it sounds like a fun UDF to write... Miva OS Project
mr.underperson Posted June 1, 2006 Posted June 1, 2006 Yes, but only if that file list is available in the first place, most are not, i.e. 403.But if it is, you can grab it and parse it, and then something like this (from a recent post of mine on this forum)...$oHTTP = ObjCreate("winhttp.winhttprequest.5.1") $oHTTP.Open("GET","http://domain.com/somefile.html") $oHTTP.Send() $HTTP_headers = $oHTTP.GetAllResponseHeadersWill get you that date/size/etc. More details here...http://msdn.microsoft.com/library/default....httprequest.asp-mu
oleg Posted June 2, 2006 Author Posted June 2, 2006 $oHTTP = ObjCreate("winhttp.winhttprequest.5.1") $oHTTP.Open("GET","http://domain.com/somefile.html") $oHTTP.Send() $HTTP_headers = $oHTTP.GetAllResponseHeaders Looks interesting will check it out Thanks There is a hex ( 31303030303030 ) reasons i love AutoIt !
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