Checking FTPS (File Transfer Protocol over SSL/TLS) Connectivity with curl
You can check FTPS connectivity with the following command.
1 | curl -u <user> --ftp-ssl -k ftp://<ftp domain>/ |
Overview
This is a memo-style post.
I had to allow FTPS connections from outside the company, so I set this up.
All I really wanted was to verify whether the user and password I had just created/updated would pass authentication. While looking for a way to do that, I found this command, which fit the bill nicely.
I had tried to verify the connection with FileZilla and Cyberduck, but somehow it just wouldn’t work…
It made me realize once again that there are quite a lot of FTP-related commands out there, like lftp and many others, even for just FTP alone.
Checking FTPS (File Transfer Protocol over SSL/TLS) Connectivity with curl
