[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ftpapi] Really simple use of HTTPAPI



You should be able to grab the return status from the HTTP headers returned, if any...  I'm not sure where, in HTTPAPI but if it's anything like GETURI it's there as an option.

On Mon, Jan 6, 2020 at 5:46 PM Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:
What I am trying to do is to use HTTPAPI to check if a file of URLs that I have are valid.  And if not valid detect any redirect or 404 type errors.

I could have sworn I had seen examples of this but can't find any.

http_get is the closest API I can see but I don't want the web page content - just the status and any redirect URLs etc.


Anyone got any example?


Jon
--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi
-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi