December 29th, 2000, 02:08 PM
Does anyone know how to FTP from within a CGI script?
I can't find anything about ftp in any of my Perl books.
I am trying to use Mysql > select > print into file and then ftp it to a mainframe.
Useing command line ftp it works just fine.
Should I try and use `command` or is there a module out there that can do it for me?
December 29th, 2000, 02:14 PM
there is a Net::FTP module on CPAN...
try looking there.
December 31st, 2000, 02:55 PM
$ftp = Net::FTP->new("ftp.domain.com", Debug => 0);
You'll find most or all ftp commands worth perfectly through this module.
December 31st, 2000, 11:16 PM
Where can I get this module?
Is it free?
Is there a site that I can download it from?
January 1st, 2001, 01:44 AM