Is there an Automator action that can upload a file/folder?
Specifically, I want to upload a folder automatically at a set date/time. I know I can create a "Calendar Alarm" action that'll trigger based on a calendar event – but I don't actually see an action that can upload to a server.
Best Answer
You can combine Automator's Run Shell Script step with the command line tool
curl
.curl can upload files using the
-F
flag followed by a file path. See ariejan de vroom's uploading files with Curl for an example.Your shell script can be passed a list of files from earlier Automator steps: