Bruno Dumon wrote:

On Sun, 2005-03-06 at 17:57 +0100, Yves Vindevogel wrote:


Hi,

I've put some tar.gz files online under a Cocoon directory.
Files are rather large (> 20 meg).

When I request one, my browser (Firefox on Mac, but also others) ask me what to do, I say "save" and it starts .... but it creates an empty file instead of downloading things.

Mime type is "application/x-gzip", and it's in a <map:read> ....

Tia



Put the matcher for your download in a pipeline like this:

  <map:pipeline type="noncaching">
    <map:parameter name="outputBufferSize" value="8192"/>
    ...

Search in Cocoon's root sitemap for "outputBufferSize" to see some more
info about this.

Some time ago I wrote down some related info on the wiki: http://wiki.apache.org/cocoon/ServingLargeFiles

--

Litrik De Roy
www.litrik.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to