C# Httpwebrequest Upload File Example

Anonymous said. Hi again, Well I've been tasked with writing something that will accept a file sent in an HTTP multi-part MIME message (and respond to it with an http status acceptance code) over https, that has to be authenticated with username/password, and a digital certificate is required to establish communication (and then supposed to make this 'root public certificate' available somehow so it can be used for POSTing). I was thinking I could use an HttpHandler to do this, specify some made up path for it (kind of how like you've done here) so it's only used for someone to post the files, and I'll retrieve the username/password from the query string to authenticate against my user database (unless you think putting it in the header is better).

  1. Httpwebrequest Upload File
  2. Upload File Php
Free upload fileExample

Httpwebrequest Upload File

C definition, the third letter of the English alphabet, a consonant.

Upload File Php

Is a root public certificate, an X.509 certificate? Is that the same thing as an SSL certificate?because this handler will exist as part of my website, which is already set up with an SSL certificate in IIS.

So then would I still need this root public certificate? What do you think? I've been posting in forums and no one seems to be able to help. I've never had to do anything like this before, and am not very familiar with httphandlers, web services, etc. Thank you for your advice!

Comments are closed.