hughesj has asked for the wisdom of the Perl Monks concerning the following question:

I'm try'n to grab some files from a ftp server.
I ran the example on this page example and it returned this error


Net::FTP=GLOB(0x80e4024)>>> RETR ORBit-0.5.0-2.i386.rpm
Net::FTP=GLOB(0x80e4024)<<< 150 Opening BINARY mode data connection for ORBit-0.5.0-2.i386.rpm (339152 bytes).
Can't locate object method "new" via package "Net::FTP::I" at /usr/lib/perl5/5.00503/i386-linux/IO/Socket.pm line 253.
Net::FTP=GLOB(0x80e4024)>>> QUIT

I then removed the line

$ftp->binary();
and got this
Net::FTP=GLOB(0x80e400c)>>> RETR ORBit-0.5.0-2.i386.rpm
Net::FTP=GLOB(0x80e400c)<<< 150 Opening ASCII mode data connection for ORBit-0.5.0-2.i386.rpm (339152 bytes).
Cannot write to Local file ORBit-0.5.0-2.i386.rpm:
at ./get.pl line 18
Net::FTP=GLOB(0x80e400c)>>> ňABOR any help? Thnx

Replies are listed 'Best First'.
Re: NeT:FTP help
by lhoward (Vicar) on May 18, 2000 at 00:50 UTC
    I got this exact error about 2 months ago. Turned out I had a buggy version of libnet (1.07). The fix was released the next day (1.0701). Try upgrading your libnet package. The current version is 1.0703.