man curl 2>/dev/null | less -p '-T/--upload-file' tell application "Finder" to do shell script "curl -T ~/resume.doc ftp://username:password@ftp.myserver.com/resume.doc"
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
File upload with curl & AppleScript (See related posts)
You need to create an account or log in to post comments to this site.
Related Posts
» Testing Terminal RGB color c... in shell osx mac bash unix applescript osascript window terminal color rgb combination
» Testing Terminal RGB color c... in shell osx mac bash unix applescript osascript window terminal color rgb combination
» Testing Terminal RGB color c... in shell osx mac bash unix applescript osascript window terminal color rgb combination
» Password request dialog from... in password shell osx mac bash unix applescript dialog
» Testing Terminal RGB color c... in shell osx mac bash unix applescript osascript window terminal color rgb combination
» Batch download code snippets in shell osx mac curl bash unix code web download internet batch ed getopts snippets trap
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails