Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Net::Ftp->login problem

by Rabbi Bob (Scribe)
on Nov 01, 2007 at 10:43 UTC ( #648459=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Net::Ftp->login problem
in thread Net::Ftp->login problem

Try setting the ftp to PASSIVE mode after connecting. You can set it during the connection initiation string if you would like by using it as an %option (read the Net::FTP documentation for specifics).

$ftp->pasv;

Here is a reasonable explanation of the difference between Active and Passive ftp and what is happening that might require a PASV connection.



"The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it." - Terry Pratchett


Comment on Re^3: Net::Ftp->login problem
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2015-07-31 23:41 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 (282 votes), past polls