Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you upload variables and files with WebClient?

Status
Not open for further replies.

faust13

Programmer
Aug 7, 2001
176
0
0
US
I need to post data and a file to a web page. The data tells the server what to do with the file. I've been able to upload the data, and the file, but not together.

How can you upload data (name/value pairs) and a file at the same time using WebClient?

I've thought about using .uploadData, and sending a collection of data, but to the best of my knowledge there is no such collection.

Any suggestions are appreciated...

Cheers! --------------------------------------
Is George Lucas Kidding...
Noise Core: 7.62
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top