471,055 Members | 2,043 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,055 software developers and data experts.

WebClient.UploadFile; Multi-Part Forms

Hello,

I am having trouble posting data to an HTTP form that includes both field
information and a file (for upload).

A couple of issues:
1. It would seem that WebClient.UploadFile is capable of posting a file
only (no additional field data), and it can only be read from an existing
file on the file system. I would like to post field info and the file in
the same request.
2. I've seen reference on the web
(http://www.c-sharpcorner.com/Code/20...DotNetBugs.asp) that the
Web.Client class does not conform to the protocol for multi-part form data.
Any comments?

Thanks very much,

Jame
Jul 21 '05 #1
0 1269

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by belfast neil | last post: by
reply views Thread by David W | last post: by
reply views Thread by Saverio Tedeschi | last post: by
2 posts views Thread by marfi95 | last post: by
1 post views Thread by Phillip N Rounds | last post: by
reply views Thread by Mihaly | last post: by
6 posts views Thread by =?Utf-8?B?U2NvdHQgVHJpY2s=?= | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.