in reply to NET::FTP Package
Here's the code
use Net::FTP; $G_FTP_SITE = &Config_Get("TOTAL_CARE FTP_SITE"); $G_FTP_USERNAME = &Config_Get("TOTAL_CARE FTP_USERNAME"); $G_FTP_PASSWORD = &Config_Get("TOTAL_CARE FTP_PASSWORD"); $ftp = Net::FTP->new( "$G_FTP_SITE" ); $ftp->login( "$G_FTP_USERNAME","$G_FTP_PASSWORD" ); $ftp->binary (); $ftp->put( "file.txt" ); $ftp->quit;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: NET::FTP Package
by insensate (Hermit) on Nov 21, 2002 at 15:51 UTC |
In Section
Seekers of Perl Wisdom