Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Quickie help question...

 [1/4] from: dwhiting::europa::com at: 1-Dec-2005 21:07


Hi All, I haven't done much with REBOL for quite awhile and am out of practice. I have a script that retrieves a ship image that no longer works. A valid URL for one image is: http://www.ellisislandrecords.org/cgi-bin/tif2gif.exe?T=\\192.168.4.229\images\T715-1352\T715-13520436.TIF&S=.5 which works if plugged into a browser. When issued from REBOL as: a: read/binary that-url-above it fails with a read error. Anyone able/willing to help? TIA, Dick -- Homepage: http://www.dickwhiting.com Last Updated: February 14, 2003

 [2/4] from: petr:krenzelok:trz:cz at: 2-Dec-2005 7:25


Hi, I have never dig deeply into url parser except few things, but I think that URL parser in rebol is not able to handle your URL. I hope someone will find some workaround and eventually post RAMBO request, if it is a bug :-) Normally if there is problem with URL datatype, which is not able to cover all syntax cases, you can use: result: read [scheme: 'http host: "www.rebol.com"] but in our case it does not work either .... -pekr-

 [3/4] from: cyphre:seznam:cz at: 2-Dec-2005 9:24


Hi Dick, This works for me: result: read [ scheme: 'http host: "www.ellisislandrecords.org" path: "cgi-bin\" target: tif2gif.exe?T=\\192.168.4.229\images\T715-1352\T715-13520436.TIF&S=.5 ] Actually the URL is not valid in terms of RFC 2396 because: Other characters are excluded because gateways and other transport agents are known to sometimes modify such characters, or they are used as delimiters. unwise = "{" | "}" | "|" | "\" | "^" | "[" | "]" | "`"regards,Cyphre ----- Original Message ----- From: "Dick Whiting" <dwhiting-europa.com> To: <rebolist-rebol.com> Sent: Friday, December 02, 2005 6:07 AM Subject: [REBOL] Quickie help question...
> Hi All, > > I haven't done much with REBOL for quite awhile and am out of practice. > > I have a script that retrieves a ship image that no longer works. > > A valid URL for one image is: >
http://www.ellisislandrecords.org/cgi-bin/tif2gif.exe?T=\\192.168.4.229\imag es\T715-1352\T715-13520436.TIF&S=.5

 [4/4] from: dwhiting::europa::com at: 2-Dec-2005 11:57


Cyphre & Petr, Thanks for the quick responses. On Friday, December 2, 2005 you wrote:
> Hi Dick, > This works for me:
I'll try it out later within my current code. I've gotten into genealogy and use it to collect passenger lists that include my relatives. TTYL, Dick PS. Petr, drop me an email off-list as to what you've been up to. -- Homepage: http://www.dickwhiting.com Last Updated: February 14, 2003