I'm able to connect to my FTPS server with TLS1.2 by curl, using --cert, --key and --cacert files. The command looks like:
curl -3 -k -v --ftp-ssl --tlsv1.2 --ftp-ssl-reqd --ftp-pasv --verbose \
--ssl \
--cert ./cert.pem \
--cert-type PEM \
--key ./cert.key \
--key-type PEM \
--cacert ./cacert \
ftp://user:[email protected]/file.txt
I see the contents of file.txt appear in the output of the command but I don't actually see the file being saved anywhere. Am I missing another argument in my curl command? I have not been able to find it yet.