Also, You will need to use a POST form, with the parameter: enctype="multipart/form-data". Don't forget to handle the parameters as well as the files, they're no longer visible with req.getParameter() when you use this.
There is a few MultipartParsers out there, including an Orion version. I would recommend wrapping these in an interface, so you can easily swap them. Not that I don't trust them or anything, but its code I have no control over. This was posted on another thread, very useful: http://kb.atlassian.com/content/orionsupport/articles/fileupload.html -----Original Message----- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: 04 March 2002 11:47 To: Orion-Interest Subject: RE: File Upload from an Application check out oreilly's cos.jar, multipart request parser. I think the object is called MultipartReqeust. it's rather popular, even though the license is rather discomforting. -hope it helps [EMAIL PROTECTED] >-----Original Message----- >From: Michael Maurer [mailto:[EMAIL PROTECTED]] >Sent: 4. mars 2002 07:38 >To: Orion-Interest >Subject: File Upload from an Application >Hi >I am trying to upload a file from an application to the orion server, but could not find the right solution so far. >Does anyone has a nice solution ? >Michael