You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by wc184 <md...@hotmail.com> on 2007/03/06 18:37:22 UTC
File Upload/Download
Hi, I'm trying to implement a file upload/download feature in my
application using Cocoon. I've tried searching for revelant information on
this but I can't seem to find anything decent. Any pointers would be
appreciated.
WC
--
View this message in context: http://www.nabble.com/File-Upload-Download-tf3356649.html#a9335683
Sent from the Cocoon - Dev mailing list archive at Nabble.com.
RE: File Upload/Download
Posted by Geert Josten <ge...@daidalos.nl>.
> > Hi, I'm trying to implement a file upload/download feature in my
> > application using Cocoon. I've tried searching for revelant
> > information on this but I can't seem to find anything decent. Any
> > pointers would be appreciated.
> >
> > WC
>
> Hi WC,
>
> Yeah, this is more of a question for users@cocoon.apache.org,
> rather than the devs list. Anyway, have you looked at the
> file upload example in the Forms block sample from the Cocoon
> distribution?
>
> For downloading, often you just want to set the mime type
> and/or content disposition headers in the HTTP response, as a
> hint to the browser to download the file (or present a
> download vs. open dialog) instead of displaying the file
> inline. If you have any trouble figuring that out, please
> post on the users' list and somebody will help you out :-)
>
> cheers,
> -ml-
Try this page:
http://wiki.apache.org/cocoon/HowTos
Regards,
Geert
Drs. G.P.H. Josten
Consultant
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl
KvK 27164984
De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.
Re: File Upload/Download
Posted by Mark Lundquist <lu...@gmail.com>.
On Mar 6, 2007, at 9:37 AM, wc184 wrote:
>
> Hi, I'm trying to implement a file upload/download feature in my
> application using Cocoon. I've tried searching for revelant
> information on
> this but I can't seem to find anything decent. Any pointers would be
> appreciated.
>
> WC
Hi WC,
Yeah, this is more of a question for users@cocoon.apache.org, rather
than the devs list. Anyway, have you looked at the file upload example
in the Forms block sample from the Cocoon distribution?
For downloading, often you just want to set the mime type and/or
content disposition headers in the HTTP response, as a hint to the
browser to download the file (or present a download vs. open dialog)
instead of displaying the file inline. If you have any trouble
figuring that out, please post on the users' list and somebody will
help you out :-)
cheers,
—ml—