hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <be...@u.washington.edu>
Subject Re: Having Trouble with MultipartPostMethod
Date Tue, 09 Mar 2004 17:59:57 GMT
I believe it's because older versions of FileUpload cannot handle the 
transfer-encoding and/or content-type multi-part headers.  These can be 
removed by setting them to null on the FilePart.

Mike

Ortwin Glück wrote:
> 
> 
> Eric Mckenna wrote:
> 
>> sorry ;), It's a reference to Star Wars.
> 
> 
> :-)
> 
>> I can open the transferred file and view the file, but the data is in 
>> a raw
>> or Hex form.  I'm not sure what form exactly, but i went ahead and 
>> attached
>> an example.
> 
> 
> Eric,
> 
> It looks like there is an extra CR LF at the beginning of your Excel 
> file. I assume you are using Commons FileUpload on the server side. We 
> have had this problems before. It seems that FileUpload fails to parse 
> Multipart MIME correctly depending on the headers of the MIME part. I 
> can't remember what was done to solve this, but you might want to search 
> the email archive of this list to find the solution or ask the guys over 
> at FileUpload.
> 
> Cheers
> 
> Ortwin Glück
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> commons-httpclient-dev-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message