do http://www.cs.uoregon.edu/~tomc/url-encode.r
pdfs: [ "06 - Aquatics.pdf" "07 - Aquatics.pdf" ] baseurl: http://kelowna.ca/citypage/scripts/PDF_Display.cfm? pc-crap: {ftd=..\docs\pdfs\Departments\Parks and Leisure Services\Brochure\Previous Brochures\Brochure 2004c Summer\} foreach pdf pdfs[ cururl: join baseurl url-encode/re join pc-crap pdf ; note: RE-encoding query string fname: join %/c/junk/ pdf write/binary fname read/binary cururl ] ---------- this seems to work. On Wed, 2 Mar 2005 20:52:52 -0800, Tom Conlin <[EMAIL PROTECTED]> wrote: > first geuss is if you looked at the data returned, > it would be a 1.5k page saying the url is not found > > > On Wed, 2 Mar 2005 17:14:34 -0800, Kai Peters <[EMAIL PROTECTED]> wrote: > > > > Hi all ~ > > > > am trying to download two (or more) PDFs as per my script below - but all I= > > ever end up with is > > the correct number of files with only ~ 1.5 k each instead of their proper= > > sizes. > > > > What am I doing wrong? > > > > Thanks, > > Kai > > > > REBOL[] > > > > pdfs: [ > > =09"06 - Aquatics.pdf" > > =09"07 - Aquatics.pdf" > > ] > > > > baseurl: > > = > > > > "http://kelowna.ca/citypage/scripts/PDF_Display.cfm?ftd=3D../docs/pdfs/Depart= > > ments/Parks and Leisure Services/Brochure/Previous Brochures/Brochure 2004c= > > Summer/" > > > > foreach pdf pdfs [ > > > > cururl: to-url append copy baseurl pdf > > > > fname: append copy %/c/ pdf > > > > print pdf > > > > write/binary fname read/binary cururl > > ] > > print "Done" > > > > -- > > To unsubscribe from the list, just send an email to rebol-request > > at rebol.com with unsubscribe as the subject. > > > > > > -- > ... nice weather eh > -- ... nice weather eh -- To unsubscribe from the list, just send an email to rebol-request at rebol.com with unsubscribe as the subject.
