Re: commons-fileupload

2006-08-02 Thread Mark
There are about 1000 examples of this using PHP. Not knowing PHP, I would assume that the logic is the same, so that might be a good place to start. On 8/2/06, Henri Yandell [EMAIL PROTECTED] wrote: On 7/23/06, Jürgen Hoffmann [EMAIL PROTECTED] wrote: Hi all, I am trying to implement

Re: commons fileupload

2006-06-19 Thread Robert J. Carr
Well, I set my 'setSizeThreshold()' to a fairly large number (2^24 or 16,777,216 or 16MB, far larger than the size of my file), but it is still doubling in size when uploaded. Again, strangely, I'm getting two files written, one automatically (which I thought would be gone now?) and one

Re: commons fileupload

2006-06-19 Thread Martin Cooper
On 6/19/06, Robert J. Carr [EMAIL PROTECTED] wrote: Well, I set my 'setSizeThreshold()' to a fairly large number (2^24 or 16,777,216 or 16MB, far larger than the size of my file), but it is still doubling in size when uploaded. Again, strangely, I'm getting two files written, one automatically

Re: commons fileupload

2006-06-19 Thread Robert J. Carr
Thanks for the quick response. The one written automatically (upload_002.xml) is correct (about 1MB); a copy of the file I uploaded. Are you sure that's the name of the file being written? It doesn't match the pattern for temp files created by FileUpload, so I'm not sure where that

Re: commons fileupload

2006-06-19 Thread Martin Cooper
On 6/19/06, Robert J. Carr [EMAIL PROTECTED] wrote: Thanks for the quick response. You can attribute that to me being in a brief break between employers right now. ;-) The one written automatically (upload_002.xml) is correct (about 1MB); a copy of the file I uploaded. Are you

Re: commons fileupload

2006-06-18 Thread Martin Cooper
On 6/18/06, Robert J. Carr [EMAIL PROTECTED] wrote: Mike/Martin- I will hook up a monitor (I'm familiar with tcpmon) but as I explained, it seems to be beyond that point, as the file is written to disk correctly when done automatically, but then written incorrectly when done manually (or when

Re: commons fileupload

2006-06-17 Thread Martin Cooper
On 6/15/06, Robert J. Carr [EMAIL PROTECTED] wrote: I am attempting to use the fileupload package and having strange results. I have a file type form element that I am uploading an xml file through to. The xml file I'm uploading is about 1.1MB. However, when I print some of the metadata

Re: commons fileupload

2006-06-17 Thread Mike Sparr - www.goomzee.com
Martin, http://ethereal.com/ (very easy to use and when you run it, you can choose which network adapter to capture traffic. After you capture, then you can run the viewer to analyze). In addition, I believe AXIS includes a network monitoring tool built into the library so you may want to use

Re: Commons-FileUpload

2006-04-28 Thread Martin Cooper
You may be hitting the same issue as this: http://issues.apache.org/bugzilla/show_bug.cgi?id=36413 Please try FileUpload 1.1 and see if that resolves the problem. If it doesn't, please provide as much information as possible as comments in the above issue report. -- Martin Cooper On 4/27/06,

Re: [commons-fileupload] one parameter, many files

2005-05-05 Thread Martin Cooper
On 5/5/05, Durham David R Jr Ctr 805 CSPTS/SCE [EMAIL PROTECTED] wrote: My understanding is that commons-fileupload will not properly parse fileuploads with the same property name. First, can someone confirm this? I didn't find a bug report on it, but have seen some discussion about it on

Re: [Commons FileUpload]understanding the source code

2004-07-29 Thread Jason Lea
You seem to missing the line terminators, the request sent would have looked like this: -7d433743032e Content-Disposition: form-data; name=file1; filename=C:\abc.txt Content-Type: text/plain XYZ -7d433743032e-- They just

Re: Commons FileUpload and DiskFileUpload.parseRequest()

2004-05-30 Thread Martin Cooper
On Mon, 24 May 2004, Scott Dudley wrote: I'm attempting to use org.apache.commons.fileupload in a servlet for the first time and have run into a snag. See below for my doPost() method. If my jsp form passes any parameter to the servlet other than the file, DiskFileUpload.parseRequest()

Re: [Commons-fileupload] FileUploadException: .. Read timed out

2003-09-10 Thread Wilco Kasteleijn
List [EMAIL PROTECTED] Subject: Re: [Commons-fileupload] FileUploadException: .. Read timed out Date: Tue, 09 Sep 2003 11:19:18 -0400 Wilco Kasteleijn wrote: Under tomcat in the server.xml there is an upload timeout, I assume in your container there would be an equalivent setting. -Rob Hi, We

RE: [Commons-fileupload] FileUploadException: .. Read timed out

2003-09-10 Thread Wilco Kasteleijn
Hi Dennis, Let's see some code! Do you check to make sure the file field was provided before writing? I don't know what would happen if you didn't, but a read timeout is conceivable. I use it with SSL, IE5.5, NS4.7, NS6.1, and NS7.1 with no trouble. Thanks for the tip. But none of my code is

RE: [Commons-fileupload] FileUploadException: .. Read timed out

2003-09-10 Thread Norrod, Dennis G Mr General Dynamics-AIS
not using Struts - YET! :-P Sorry. Dennis -Original Message- From: Wilco Kasteleijn [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 12:24 PM To: [EMAIL PROTECTED] Subject:RE: [Commons-fileupload] FileUploadException: .. Read timed out Hi Dennis, Let's see