AnsweredAssumed Answered

using sftp with cURL and AppleScript

Question asked by JamesPeragine on May 24, 2018
Latest reply on May 25, 2018 by bigtom

I have been using an apple script to upload files via cURL for a while.  We just switched to Amazon AWS and they only have an sftp option.  I have sftp enables on my computer but I am getting an error that sftp in not enabled. I also want o make sure that I am using the correct syntax here.


"do shell script \"curl -T  " & $$FilePath & "\\\"{" & Members::PhotoSelectValues_Camera1 & "}\\\".cr2 sftp://user:password@\" "


& ¶ & ¶ &


display dialog \"Files Uploaded Successfully\"