I have created a script which successfully uploads files to my server using FTP and a curl command.
The one thing I haven’t worked out how to do is how to create a directory on my server using applescript. At the moment I have to manually create the correct directory for the script to work, but would like to be able to automate everything.
but I still get the following error when running the script:
"curl: Can’t open ‘–ftp-create-dirs’!
curl: try ‘curl --help’ or ‘curl --manual’ for more information
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- 0:00:01 --:–:-- 0
curl: (9) Server denied you to change to the given directory"
I have permissions for the folder that I am creating the directories in set to “777”