Jump to content

Recommended Posts

Posted

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 !

Posted

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... :D
Posted

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.GetAllResponseHeaders

Will get you that date/size/etc. More details here...

http://msdn.microsoft.com/library/default....httprequest.asp

-mu

Posted

$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 :D Thanks

There is a hex ( 31303030303030 ) reasons i love AutoIt !

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
×
×
  • Create New...