Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Beginners guide to Net::FTP

by afoken (Chancellor)
on Nov 17, 2018 at 12:54 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1225955]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found