Re: MultipartPostMethod creating malformed headers?

2003-02-27 Thread Daniel Walsh
What library are you using to parse 'multipart/form-data' formatted requests? We actually have our own classes to parse a multipart/form-data formatted request. I guess they could be a bit outdated at this point, or possible never were completely spec compliant themselves. The specification

MultipartPostMethod creating malformed headers?

2003-02-26 Thread Daniel Walsh
I'm getting a new exception thrown by the servlet I'm pointing to when I use today's (Feb. 26th) source for MultipartPostMethod. It complains about a malformed header line. When I point back to an older version of HttpClient, I don't get this exception. Any ideas? Daniel

MultipartPostMethod Holding File Stream Open?

2003-02-25 Thread Daniel Walsh
I'm using a MultipartPostMethod to upload a file to a servlet: File file = new File(strUrl); HttpClient client = new HttpClient(); HostConfiguration hostConfig = new HostConfiguration(); MultipartPostMethod mpPost = new MultipartPostMethod(); hostConfig.setHost(someURL.getHost(),

SocketException While Uploading Large File With MultipartPostMethod

2003-02-25 Thread Daniel Walsh
As I mentioned in a previous posting (Subject: MultipartPostMethod Holding File Stream Open?), I'm using the MultipartPostMethod to upload a file to a servlet. Here is the example code that I included in the other posting: File file = new File(strUrl); HttpClient client = new HttpClient();

Re: File Upload

2003-02-12 Thread Daniel Walsh
Thanks for responding so quickly Martin. I was under the impression, though, that the implementation that you spoke of would require an HTML form, or some other type of UI - which my application does not use. Is that not true? Daniel The usual mechanism for uploading files is to use the POST