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

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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.