We are attempting to work with a vendor who has an SSL enabled ftp server.

We are attempting to use lftp to make the connection, and have gotten the
following message when attempting to login, after the SSL-AUTH has occurred.

lftp -f ~/lftp.cmds                                 
---- Resolving host address...
---- 1 address found
Password: 
dns cache hit
---- Connecting to [IP ADDRESS] ([IP ADDRESS]) port 21
<--- 220 [HOSTNAME] FTP server (SecureTransport 4.1.2) ready.
---> AUTH TLS
<--- 334 SSLv23/TLSv1           
---> USER [USERID]
**** Peer closed connection
---- Closing control socket

We can connect and transfer data properly via cURL using FTP/SSL.

One caviat - [Our Internal Address]->[Vendor NAT Address]->|Our FW|->[Our NAT
Address]->[Vendor NAT Address]->|Vendor FW|->[Vendor  NAT of Our NAT
Address]->[Vendor Internal Address]

So we are attempting to use the ftp:port-ipv4 [Vendor NAT of Our NAT Address]
which is what was required to make cURL work properly.

With or without this setting, we continuously get the 
**** Peer closed connection after ---> USER [USERID] 

Reply via email to