Hello
I am uploading a file using WebClient(ASP.net C#)
this is my code
path=MapPath(''f.xml''); destpath=Server.MapPath(''./try/f.xml'');
myWebClient.UploadFile(destpath,path);
This codes works great and uploads my file..but what it also does is add header which i dont want.
eg:
-----------------------8c7ae9efe20ea5a
Content-Disposition: form-data; name=''file''; filename=''f.xml''
Content-Type: application/octet-stream
(ACTUAL FILE CONTENT DATA)
-----------------------8c7ae9efe20ea5a
How do i get rid of this headers appearing above and below my file content??
Thanks
tyrant
ASP.net C#.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic