in reply to Re: Weird Net::FTPSSL error
in thread Weird Net::FTPSSL error

Thanks for the reply. Tried that, but to no avail :( I just get:

connect: Connection refused at /usr/lib/x86_64-linux-gnu/perl5/5.20/Net/SSLeay/Handle.pm line 229.


I did a bit more research, and found out I can do it via Curl:

curl -T /home/user/public_html/cgi-bin/hotels/admin/com_spots.csv ftp://dest-server.org/public_html/cgi-bin/links/admin/IMPORT/ --user user:pass

Tested that out, and works a treat :)

Thanks for trying to help though!

Cheers

Andy

Replies are listed 'Best First'.
Re^3: Weird Net::FTPSSL error
by Mr. Muskrat (Canon) on Apr 11, 2016 at 15:34 UTC

    So you aren't using FTP over SSL/TLS after all (there are no SSL/TLS options in your curl usage). If you still want to use Perl then switch to Net::FTP.