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 ...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||