http://qs321.pair.com?node_id=725971

Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:

I've got an FTP task which, when written as a script and run from the command line, works just fine.

But when run as a CGI, it dies with the $ftp->error "Transfer Aborted" -- which is not much help.

It's exactly the same task, same username and password, same paths, so I'm a bit stuck.

Maybe if I could get the Net::FTP Debug output that would help, but I can't figure out how to do that. Where is it actually being sent, and how can I get it to appear in my browser, or log it to a file?



Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...