Checking
Benjamin Hill (torched@hotmail.com)
Wed, 10 Sep 1997 15:39:39 PDT
I don't know if this has been asked before or not.
I'd like to be able to check if a URL exists, without downloading it.
I'm making a script that automatically checks if rather large files are
where they should be.
As things are now, I have to download them to see if they are there, and
with the sizes, things get ugly.
$rawdata = get 'http://wherever/bigfile.gz';
if (defined $rawdata) print "Yay!";
(Well, perhaps a bit prettier than that, but you get the idea.)
Is there a way to just check, withouth the long delay and the bandwidth
crunching?
-Benjamin
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com