Click here to get back home

FTP problem

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
FTP problem slinges 04-04-2008
Posted by slinges on April 4, 2008, 11:08 am
Please log in for more thread options
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?

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.

Similar ThreadsPosted
Problem installing modules on redhat 9 - strange connection problem January 26, 2005, 5:19 am
ReFresh problem or target problem September 14, 2005, 9:23 pm
Is it a gtk2 problem or Threads problem March 18, 2006, 11:28 pm
CGI PROBLEM October 2, 2004, 12:51 am
tr problem September 30, 2004, 10:13 am
problem with LWS February 3, 2005, 12:55 am
another problem with look-around March 5, 2005, 12:47 pm
Net::FTP problem April 15, 2005, 12:02 pm
'\n' &
problem
April 27, 2005, 1:35 am
DBI - DBD-DB2 Problem - Please help June 2, 2005, 11:07 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap