Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Re: Re: Re: Net::FTP via CGI mystery

by Fastolfe (Vicar)
on Jul 13, 2002 at 16:41 UTC ( #181497=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Net::FTP via CGI mystery
in thread Net::FTP via CGI mystery

Call the 'pasv' method before you do your 'ls'.

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.


Comment on Re: Re: Re: Re: Re: Net::FTP via CGI mystery

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://181497]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2015-07-05 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls