curl-users
Re: curl: (26) failed creating formpost data
Date: Wed, 25 Jan 2006 12:04:32 -0700
At 11:14 +0100 1/25/06, Laurent Humbert wrote:
> I must have made a mistake when I first tried it. I'm calling curl thru AppleScript some setting up commands with quotes etc.. can be a little tricky.
Quotes in AppleScript have driven me to BBEdit worksheets for handling curl. I did, though, create some doggerel which helps for curl via AppleScript. It uses Terminal.app as opposed to "do shell script". That allows display of curl's progress "bar" and makes quoting easier.
<ftp://ftp.macnauchtan.com/Software/Progress/tView.text> # The read-me
<ftp://ftp.macnauchtan.com/Software/Progress/tViewCmd>
<ftp://ftp.macnauchtan.com/Software/Progress/tViewInit>
There is also the "quoted form of" construct in AppleScript which backslashes the backslashes which escape the quote characters appropriately - - if that makes any sense at all.
-- Applescript syntax is like English spelling: Roughly, but not thoroughly, thought through.Received on 2006-01-25