2

A vendor has provided these FTP connection params so I can upload some data for them...

Host: host.com
Port: 46800
Protocol: FTP – File Transfer Protocol
Encryption: Require implicit FTP over TLS
Logon Type: Normal
User: [ username ]
Password: [ password ]

It isn't working for me...

$ ftp -p host.com 46800
Connected to host.com
421 Service not available, user interrupt. Connection closed.
ftp>

I suspect the "Require implicit FTP over TLS" param might be the issue? (Maybe?)

TLS isn't mentioned in the FTP man page.

What would be a command that would allow me to connect and upload?

2

The ftp program is for the insecure ftp protocol. Your vendor has specified that you use Implicit FTP over TLS which is a way to encrypt the connection and keep your credentials and data private over the Internet.

Fortunately, there is a program called lftp which understands this protocol.

lftp
open -u [username] ftps://host.com:46800
Password: [enter your password]
ls
[your remote files should be listed]

lftp supports many protocols. This webpage lists them in an easy to read table.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.