Jump to content
Sign in to follow this  
oleg

HTTP File List

Recommended Posts

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

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  

×
×
  • Create New...