Oleg,

Thanks for the help. After you pointed out that there were actually two 
different requests each with their own boundary, I was able to 
investigate/deduce what the issue was. It turned out there was a couple of 
lines in my code that distorted the "parts" component for the 
MultipartEntityRequest. Once I fixed those lines of code, I was able to 
transfer single and multiple file sets via HttpClient.

Best regards,
Dan




________________________________
From: Oleg Kalnichevski <[email protected]>
To: HttpClient User Discussion <[email protected]>
Sent: Tuesday, March 24, 2009 2:52:47 PM
Subject: Re: Uploading multiple files via HttpClient

Well, actually there are _two_ different requests in the wire log, each 
containing a multipart coded content entity with exactly _one_ binary body, 
hence _two_ different boundaries. However, I just noticed that the second 
request has an invalid Content-Type header, which I _suspect_ was added to the 
request by your application code. No wonder the second upload fails.

Hope this helps

Oleg



      

Reply via email to