test if file exists on http-server

Andre Garzia andre at andregarzia.com
Sun Sep 2 16:01:30 EDT 2007


Richard,
use the HEAD method. it will respond with the headers only, no content.
check the follwing entries in the documentation.

libURLSetCustomHTTPHeaders (you'll use that to assemble a HEAD request
instead of a GET one)


libURLLastRHHTTPHeaders (use this to check what the server answered.)

you may find additional info on the HTTP protocol by reading

http://www.jmarshall.com/easy/http/

best
andre
On 9/2/07, R. Hillen <mail at richard-hillen.de> wrote:
>
> Hello list,
>
> I have to check some hundred files, if they are available on  http-
> server; as they are big, is there another way than to try to download
> them?
>
> Thank you!
> Richard.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list