shell command oddity...

Mark Smith mark at maseurope.net
Wed Mar 17 11:05:12 EST 2004


Hi All, following the excellent advice found on this list a while back, 
I've been experimenting with the shell "curl" stuff to access an https 
site.

Here's the problem: using the exact same URL,
A: "https://" etc typed into a browser window - no problem
B: curl "https://" etc. typed into the Terminal app in OSX - no problem
C: From a rev script using shell - ie. put shell("curl" && quote & 
"https://" etc & quote) into fld 1 -
about 3k of the 30 odd k of html arrives in fld 1, last line ending 
with "Unexpected Error 1".

Perhaps a character set problem? I'm stumped, so any help would be much 
appreciated.

Thanks,

Mark

PS. I'm not trying to crack into a banks web-site or anything, I'm 
simply trying to download the freely displayed odds from an on-line 
bookie....



More information about the use-livecode mailing list