Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[rt-pmc] [CQ 3156] Apache Commons Fileupload Jar 1.2 (using Orbit CQ1895)

http://dev.eclipse.org/ipzilla/show_bug.cgi?id=3156





--- Comment #5 from Scott Lewis <slewis@xxxxxxxxxxxxxxxxx>  2009-02-24 12:26:33 ---
(In reply to comment #4)

Hi Jurgen.

> We are using fileupload in a servlet to read a file from an incoming POST
> HttpServletRequest created by an HTML form, besides other request parameters.
> Commons-fileupload seemed like the obvious way to go. I was not aware that ECF
> could provide something similar. Now, I have scanned the ECF documentation for
> hints, but did not find anything in the APIs that could help me with this. If I
> have missed something, could you please give me a pointer and I'll be glad to
> investigate. 
> 

I took a quick look at apache fileupload...and I didn't appreciate previously
that it was essentially a set of classes to handle http file upload requests
from within a servlet/portlet.  I thought that you were creating some Equinox
client plugin for doing upload.

ECF filetransfer can/could be relevant to server-side file upload (i.e. a
server 'client' sending a file to some other server) but currently but we don't
have handling of (e.g.) multipart http requests and other processing of the
http request.  It seems that this (the processing of the http request) is
pretty much all that apache file upload does.

So, in other words...ECF's filetransfer on server will be relevant if you wish
to do file transfer between/among servers asynchronously, but the apache
fileupload is appropriate if all that you wish to do is to process incoming
servlet file upload requests and save them to disk (i.e. on server).

Sorry about the confusion.


-- 
Configure CQmail: http://dev.eclipse.org/ipzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the CQ.


Back to the top