Use LWP::Simple and the head function.
use LWP::Simple; my $url = 'http://some.server.com/file.html'; if (head($url)) { # file is there } else { # file is missing }
In reply to Re: How do I check if a file exists on another (remote) domain?
by davorg
in thread How do I check if a file exists on another (remote) domain?
by CMW
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |