I've been struggling with a challenge to use FTPS instead of FTP within an Applescript. The purpose is to create a directory on the server and upload files to a shared windows server with Hostgator.
The working in-the-clear FTP code is the following:
set ftpNewdir to ("curl " & "-u username:pwd ftp://server-ip/" & "/ --ftp-create-dirs") as string do shell script ftpNewdir
I've been told that hostgator allows explicit FTPS with windows shared accounts.
After some research, Ive found that using the following code should work, but no luck.
curl --user name:passwd ftps://ftp.host.com/
I receive a "curl: (56) response reading failed" or timeout, etc...
Thanks in advance for any guidance.