|
Posted by smallpond on April 4, 2008, 12:24 pm
Please log in for more thread options
On Apr 4, 11:08 am, slin...@gmail.com wrote:
> Hello,
>
> in the past I used Net::FTP for ftp and had no problems, however if I
> try to connect to a ftp url likeftp://ftp.gimp.org/I can't connect?
>
> $ftp = Net::FTP->new($url, Debug=>1 [, Passive=>1]) or die 'cannot
> conect';
>
> Any ideas what the problem is?
try doing it like the doc:
or die "Cannot connect to $url: $@";
$@ is the error.
|