Re: URLAS cannot submit forms in OS X
Re: URLAS cannot submit forms in OS X
- Subject: Re: URLAS cannot submit forms in OS X
- From: Reinhold Penner <email@hidden>
- Date: Thu, 31 Jan 2002 13:00:21 -1000
Daniel,
I've got a Mac running Mac OS X 10.1.2. URL Access Scripting cannot
download with form data. Whenever I include the form data option, I get
the error that "URL Access Scripting got an error: The application
isn't running."
Yep, I know that problem all too well. I couldn't get URLAS to do
anything for me, so I was happy to find the cURL shell commands that let
you do just about anything with URLs (including posting, downloading,
ftp, etc.). The curl commands are build into standard OS X and can be
invoked via a do shell script such as:
do shell script "curl
http://host.domain/whatever"
This is a very bad thing, as it completely wipes out all use of URLAS
for downloading anything that requires POST form data, rather than GET
(since with GET you just include the form data in the URL itself).
Posting is done easily in the form of:
do shell script "curl -F name=value
http://host.domain/myCgi"
Check out the specifics at the cURL website:
http://curl.haxx.se/ or
check the man in the terminal
HTH, -Reinhold