Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Is it possible to manually set the 'name' attribute in the multipart header when using .net WebClient UploadFile? Or is there another way to get this solved?

-----------------------8cda1896efcd67f Content-Disposition: form-data; name="file"; filename="Testfile.txt" Content-Type: application/octet-stream

This is a Testfile. -----------------------8cda1896efcd67f--

Thanks for any suggestions!

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.