FTP problem

S

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?
 
S

smallpond

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,951
Messages
2,570,113
Members
46,698
Latest member
alexxx

Latest Threads

Top