By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,669 Members | 1,540 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,669 IT Pros & Developers. It's quick & easy.

HTTP upload image file encoded with multipart/form-data

P: n/a
Hi

I'm using a third party software which captures image from a webcam and
saves it to local harddisk. It also comes with a function to send the image
file via HTTP encoded with multipart/form-data. To integrate this function
with ASP and PHP is no problem. I think it's also possible to binary read and
decode the files and fields posted, in c#. But I don't know the syntax and
the classes to use in c#. Is there any information on the Internet that you
can guide me to?

--
Regards Patsy
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Patsy wrote:
Hi

I'm using a third party software which captures image from a webcam
and saves it to local harddisk. It also comes with a function to send
the image file via HTTP encoded with multipart/form-data. To
integrate this function with ASP and PHP is no problem. I think it's
also possible to binary read and decode the files and fields posted,
in c#. But I don't know the syntax and the classes to use in c#. Is
there any information on the Internet that you can guide me to?


System.Net.WebClient.UploadFile() should perform a proper file upload
using multipart/form-data, but it is still broken in .NET 1.1 SP1 and
thus doesn't seem to work with PHP. This leaves you only the option to
use Sytem.Net.WebRequest.

Cheers,

--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.