Thanks for you reply, Mark. I found this on the Cocoon Wiki: http://wiki.apache.org/cocoon/DownloadFilesToLocalDisk?highlight=%28download%29
I'm pretty new to Cocoon. I'm not sure how to declare the header. What else do I need to configure other than setting the pipline in the sitemap file? Any pointers? Thanks. WC Mark Lundquist-3 wrote: > > Hi, > > On Mar 6, 2007, at 3:44 PM, wc184 wrote: > >> The problem I have is the URL has to match "dlchs*-_-*.xml". This, >> subsequently, prompts the user to save the file under this format by >> default. I would IE to prompt the user to save under the original >> filename. > > I think you need these response headers: > > Cache-Control: Pragma:no-cache > Content-Disposition: attachment; filename=what.ever > > You can use the HTTPHeaderAction within your pipeline to set those from > the sitemap. > > HTH, > —ml— > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/File-Upload-Download-tf3359151.html#a9355710 Sent from the Cocoon - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
