note
Fastolfe
Call the 'pasv' method before you do your 'ls'.<p>
What's likely happening is that Net::FTP is doing some configuration based on your user environment, and that environment differs from the environment present when Net::FTP is invoked from within a CGI script. You just don't know it. Be explicit and set 'pasv' if your network/firewall configuration requires that you use it.
181428
181483