|
Posted by brundlefly76@hotmail.com on February 26, 2005, 8:22 pm
Please log in for more thread options
With a recent cpan install, when I try to do a module install with
cpan, Net::FTP goes to do a fetch and the program just hangs.
The same FTP command with, say, ncftp from the same box works fine and
instantly.
Anyone else have this problem?
|
|
Posted by Martin Kissner on February 27, 2005, 1:24 pm
Please log in for more thread options
brundlefly76@hotmail.com wrote :
> With a recent cpan install, when I try to do a module install with
> cpan, Net::FTP goes to do a fetch and the program just hangs.
Which program?
Where is the code?
Have you checked "$ftp->message"?
> The same FTP command with, say, ncftp from the same box works fine and
> instantly.
>
The problem might be router/firewall related.
Your local ftp client might be configured to use passive ftp.
Try
$ftp=Net::FTP->new(HOST,
[your stuff here,]
Passive => '1')
HTH
Martin
--
perl -e '$|=1;&p(7.74.117.115.116.32);&s();&p(97.110.111);&p(116.104.101
..114);&s;&p(32.112.101.114.108);&s();&p(32.104.97.99.107.101.114.10);sub
s{sleep 1};sub p(){print "@_"}'
|
|
Posted by brundlefly76@hotmail.com on March 1, 2005, 9:51 pm
Please log in for more thread options
I am talking about the actual automated cpan install program itself (I
really wish they had called it something else!)...
cpan> install LWP
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sat, 26 Feb 2005 19:48:34 GMT
LWP not available
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.sonic.net/mirrors/CPAN/authors/01mailrc.txt.gz
And it just freezes there - FYI as I mentioned I have absolutely no
problems ftping to this remote host and getting the file mentioned by
hand in less then a few seconds...
|
| Similar Threads | Posted | | GraphViz in Windows hangs | May 1, 2006, 4:06 pm |
| LWP::UserAgent hangs up infinitively | February 26, 2007, 9:05 am |
| Net::SFTP and Net::SSH::Perl hangs or disconnets. Help needed. | October 25, 2004, 2:39 am |
| fedora core 5 + install net::ssh::perl = hangs | June 25, 2007, 6:33 am |
| Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails | May 10, 2005, 9:51 pm |
| Use CPAN or CPAN::Shell for LOCAL ONLY install from tarballs? | May 9, 2008, 1:04 pm |
| Cpan and gcc | September 27, 2005, 8:38 pm |
| PHP on CPAN? | April 16, 2006, 6:56 pm |
| .CPAN Locked (OS 10.3.5) | August 27, 2004, 11:24 pm |
| error with CPAN.pm | October 19, 2004, 7:13 am |
|