in reply to Weird Net::FTPSSL error
This is almost always caused by NAT issues with the control channel (which Passive Mode gets around, which is default in Net::FTPSSL), or the FTP server itself is replying back with an incorrect passive mode IP address.
In your new() constructor, try setting OverridePASV => x.x.x.x, where x.x.x.x is the same as the IP you connect initially to.
If that doesn't work, fire up tcpdump or Wireshark and have a look at what traffic you see when you attempt to connect. Post the results of that back here if you don't understand them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Weird Net::FTPSSL error
by ultranerds (Hermit) on Apr 10, 2016 at 06:08 UTC | |
by Mr. Muskrat (Canon) on Apr 11, 2016 at 15:34 UTC |