FTP problem
am 04.04.2008 17:08:47 von slinges
Hello,
in the past I used Net::FTP for ftp and had no problems, however if I
try to connect to a ftp url like
ftp://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?
Re: FTP problem
am 04.04.2008 18:24:25 von smallpond
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.