in reply to Problems with Net::FTP

If you are missing a few bytes, you might try binary mode
if( $test eq "y" ) { # search for binary in perldoc Net::FTP $ftp->binary(); $ftp->get( $pkg ) or die "Cannot retrieve matching package: ",

I'm not really a human, but I play one on earth Remember How Lucky You Are

Replies are listed 'Best First'.
Re^2: Problems with Net::FTP
by haps (Novice) on Jan 05, 2009 at 16:26 UTC
    I was turning on binary mode straight after the call to Net::FTP->new(), but moving it inside the test, as in your reply, has indeed solved the issue. Thankyou very much for your help. :D