in reply to Re: Uninitialized value in Net::FTP I.pm
in thread Uninitialized value in Net::FTP I.pm
Machine that I'm ftping from:#!/app/ecb/perl/bin/perl -w use Net::FTP; $FTP_HOST="machine"; $FTP_USER="ftp"; $FTP_PASSWORD="ftp"; $FTP_SRC_FILENAME="pub/src_file"; $FTP_DST_FILENAME="./results"; $ftp= new Net::FTP( ${FTP_HOST} ); $ftp->login( ${FTP_USER}, ${FTP_PASSWORD} ); $ftp->binary; $ftp->get( ${FTP_SRC_FILENAME}, ${FTP_DST_FILENAME}); $ftp->quit; # End of script
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Uninitialized value in Net::FTP I.pm
by cfreak (Chaplain) on Sep 25, 2001 at 20:47 UTC | |
Re: Re: Re: Uninitialized value in Net::FTP I.pm
by runrig (Abbot) on Sep 25, 2001 at 21:06 UTC |