You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

simple applescript curl command

Guys I am stuck on this simple curl upload upon completing an audiojack recording. i just want to upload the file to ftp.


on process(theFile)

do shell script "curl -T 'theFile' ftp://username:password@ftp.com/password@ftp.com/"


end process


Is there an issue in the syntax ?

Thanks!

iMac, Mac OS X (10.7.4)

Posted on Dec 12, 2012 5:01 PM

Reply
17 replies

Dec 13, 2012 8:15 PM in response to kap_australia

Great!


Yeah Applesscript can be very good but something's in it are a pain. Specify files and paths especially if you jump back and forth between OS X specs and Unix specs can be confusing. I still get tripped up by it if I haven;t done any scripting for a while and have to resort to little test script like I showed to figure it out.



glad it's all sorted out now.


regards

simple applescript curl command

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.