Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multipart forms
Message
 
To
04/06/2002 17:33:28
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00664742
Message ID:
00666461
Views:
18
>All
>
>We're using the HTTPWebRequest class to submit requests to our server which wants multipart/form data. We can specify that in C#, but the class always seems to send value pairs rather than the divider and data that we expect in a multipart form. Can somebody advise us or is there a different class we need to use?
>
>Regards
>
>JR

.NET doesn't format POST buffers in any way, so you have to manually create them.

Try:

http://www.west-wind.com/presentations/dotnetWebRequest/dotnetWebRequest.htm

The code for the wwHTTP class has a multi-part form formatter and handler to directly upload files (or individual content)...
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform