URL error question...
[1/3] from: dwhiting::europa::com at: 4-May-2003 18:36
Hi ,
I've been away for a long time and have forgotten much. Can anyone suggest
how to make this work:
>> a: read/binary http://www.ellisislandrecords.org/cgi-bin/tif2gif.exe?T=g:\T715-0087\T715-00870120.TIF&S=.5
** User Error: URL error: http://www.ellisislandrecords.org/cgi-bin/tif2gif.exe?T=g:\T715-0087\T715-00870120.TIF&S=.5
** Near: a: read/binary http://www.ellisislandrecords.org/cgi-bin/tif2gif.exe?T=g:\T715-0087\T715-00870120.TIF&S=.5
BTW, this works fine:
browse http://www.ellisislandrecords.org/cgi-bin/tif2gif.exe?T=g:\T715-0087\T715-00870120.TIF&S=.5
TIA,
Dick
--
Homepage: http://www.europa.com/~dwhiting Last Updated: February 14, 2003
[2/3] from: chris:ross-gill at: 4-May-2003 22:27
Hi Dick,
http://www.ellisislandrecords.org/cgi-bin/tif2gif.exe?T=g:\T715-0087\T715-00
870120.TIF&S=.5
I think it is to do with escaping characters in the query that otherwise
gives the url parser problems. One solution would be to use a port spec
instead of a url to bypass the parser (below).
- Chris
--
REBOL []
page: [
scheme: 'http
host: "www.ellisislandrecords.org"
path: "cgi-bin/"
target: "tif2gif.exe?T=g:\T715-0087\T715-00870120.TIF&S=.5"
]
a: read/binary page
[3/3] from: dwhiting:europa at: 4-May-2003 20:43
Hi Chris,
On Sunday, May 4, 2003 you wrote:
> I think it is to do with escaping characters in the query that otherwise
> gives the url parser problems. One solution would be to use a port spec
> instead of a url to bypass the parser (below).
Worked like a champ!
Now, I'll just grab all the sheets for the ship that my grandmother and her
parents are supposed to have arrived on and try to them. Ship held approx.
1100 passengers--should keep me busy for awhile:-)
Thanks,
Dick
--
Homepage: http://www.europa.com/~dwhiting Last Updated: February 14, 2003