Hi,

I've been using the CPAN module to install stuff for some time now and it always ends up using the 'ftp -n' option as
the modules LWP and Net don't appear to be working. Has anyone else noticed this? There is a sample output at the
end of the message. I'm getting the following errors when I use the Net::FTP module directly. It appears to be problematic
in the retrieve section. I've re-installed, etc and have found that CPAN thinks it is fine. Any help would be great thanks!


Net::FTP>>> Net::FTP(2.74)
Net::FTP>>> Exporter(5.567)
Net::FTP>>> Net::Cmd(2.25)
Net::FTP>>> IO::Socket::INET(1.26)
Net::FTP>>> IO::Socket(1.27)
Net::FTP>>> IO::Handle(1.21)
Net::FTP=GLOB(0x88b6e8)<<< 220 siobhra.indigo.ie FTP server (Version 6.00) ready.
Net::FTP=GLOB(0x88b6e8)>>> user anonymous
Net::FTP=GLOB(0x88b6e8)<<< 331 Guest login ok, send your email address as password.
Net::FTP=GLOB(0x88b6e8)>>> PASS ....
Net::FTP=GLOB(0x88b6e8)<<< 230 Guest login ok, access restrictions apply.
Net::FTP=GLOB(0x88b6e8)>>> CWD /pub/CPAN/authors/id/I/IL/ILYAM
Net::FTP=GLOB(0x88b6e8)<<< 250 CWD command successful.
Net::FTP=GLOB(0x88b6e8)>>> PORT 149,157,245,23,219,60
Net::FTP=GLOB(0x88b6e8)<<< 200 PORT command successful.
Net::FTP=GLOB(0x88b6e8)>>> RETR HTTP-WebTest-2.04.tar.gz


The program hangs at the last nice then times out. I've not had this problem before - it is getting to me now. I'm using the
folowing version of Perl:


This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level
(with 1 registered patch, see perl -V for more detail)


HERE ... is the output from CPAN module ...


Running install for module Exporter
Running make for N/NW/NWCLARK/perl-5.8.4.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/authors/id/N/NW/NWCLARK/perl-5.8.4.tar.gz
LWP failed with code[404] message[File 'perl-5.8.4.tar.gz' not found]
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/id/N/NW/NWCLARK/perl-5.8.4.tar.gz
Couldn't fetch perl-5.8.4.tar.gz from ftp.perl.org
Issuing "/usr/bin/ftp -n"
Connected to ftp.cpan.ddns.develooper.com.
220 siobhra.indigo.ie FTP server (Version 6.00) ready.
331 Guest login ok, send your email address as password.
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
Local directory now /Users/jkeating/.cpan/sources/authors/id/N/NW/NWCLARK
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
200 Type set to I.
local: perl-5.8.4.tar.gz remote: perl-5.8.4.tar.gz
500 'EPSV': command not understood.
227 Entering Passive Mode (194,125,133,8,231,194)
150 Opening BINARY mode data connection for 'perl-5.8.4.tar.gz' (12094233 bytes).
100% |*************************************| 11810 KB 244.11 KB/s 00:00 ETA
226 Transfer complete.
12094233 bytes received in 00:48 (244.08 KB/s)
221 Goodbye.




Reply via email to