December 29th, 2000, 03: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, 03:14 PM
there is a Net::FTP module on CPAN...
try looking there.
December 31st, 2000, 03:55 PM
$ftp = Net::FTP->new("ftp.domain.com", Debug => 0);
You'll find most or all ftp commands worth perfectly through this module.
January 1st, 2001, 12:16 AM
Where can I get this module?
Is it free?
Is there a site that I can download it from?
January 1st, 2001, 02:44 AM