Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Beginners guide to Net::FTP

by afoken (Canon)
on Nov 17, 2018 at 12:54 UTC ( #1225955=note: print w/replies, xml ) Need Help??


in reply to Re: Beginners guide to Net::FTP
in thread Beginners guide to Net::FTP

Didn't work and I got the error: 502 'PORT' command not implemented.

That looks like an FTP server that insists on passive mode. That's generally a good idea.

I solved the issue by putting the entire connection into PASV mode

That confirms this. Generally, passive mode is the prefered way to communicate with an FTP server. http://slacksite.com/other/ftp.html explains the difference between active and passive mode quite well.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2020-06-02 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (13 votes). Check out past polls.

    Notices?