[opencms-dev] delivering binary data htrough xml templates

Nico Krause Nico.Krause at nsc.eu.com
Tue Feb 4 09:45:29 CET 2003


Sorry... I don't want to download a website ;)
I want to download a file with a template/website
Which is build with opencms.

For example:
http://opencms.server.com/opencms/opencms/customer/download.html?path=/custu
mer/file.pdf


Nico

-----Original Message-----
From: Nico Krause [mailto:nico.krause at nsc.eu.com] 
Sent: Montag, 3. Februar 2003 20:44
To: opencms-dev at www.opencms.org
Subject: [opencms-dev] delivering binary data htrough xml templates

Hi,

 I want to do a download website in opencms.
The Download Galary is not what I'm looking for.
I want to read some files from a special location from the real files 
system.

Is there somewhere an example has somebody allready tried this?
the
template.setData("file", byte[] ???? );
- method  would be very interesting...

How would you do this? Importing it first into the VFS before 
downloading? Maybe ..

Thanks for any tips...

Bye,

Nico

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030204/a37fdb11/attachment.htm>


More information about the opencms-dev mailing list