So is it the HttpClient component what we are using doing something wrong or the asp.net pages that receiving my request messing it up?
the receiving web service could be reading information from the wrong parts of the stream
, I know that is not right but now I am getting the file name properly displayed. Only thing is that it displays only the first 8 character of whatever I give in the content type. So my file name is test1.txt and it displays test1.tx . But manually uploading via the site giving full name of the file.