Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Partial http file downloadby rhesa (Vicar) |
on Feb 25, 2008 at 11:00 UTC ( [id://669982]=note: print w/replies, xml ) | Need Help?? |
Can't you do a HEAD request instead? If the file exists, you should receive useful information in the response header (such as content-type and content-length). If it doesn't exist, you should receive a 404.
In Section
Seekers of Perl Wisdom
|
|