in reply to Net::FTP works as script, but not CGI
One of the most common reasons why a script runs from the command line but not as a CGI is permissions. The web server is probably running as a different user, and may not have read/write where you think it does.
In Section
Seekers of Perl Wisdom