Re: "curl -x" and do shell script
Re: "curl -x" and do shell script
- Subject: Re: "curl -x" and do shell script
- From: Walter Ian Kaye <email@hidden>
- Date: Tue, 6 Jul 2004 01:49:39 -0700
At 09:33a +0200 07/06/2004, jj didst inscribe upon an electronic papyrus:
Hi all!
I'm experimenting odd behaviours trying to get a page through a proxy using
"curl" and "do shell script".
The shell script works fine in the Terminal. However, when run from
applescript, it returns an error:
##########################################
do shell script "curl -x " & proxy & space & theUrl
--> ERROR
--> curl: option -x requires an extra argument!
--> curl: try 'curl --help' for more information
##########################################
Variables "proxy" ("80.80.80.80:80") and "theUrl" ("http://www.foo.bar/")
are OK. As I told you, it works fine in a Terminal window.
Is theURL properly escaped (quoted)?
Also try parenthesizing the concatenated text.
-boo
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.