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.

Reply via email to