I'm using "HttpWebRequest" in order to send a web form using "post" method.
but I have a problem, the site get a component like this one: <input type="file" name="the_file"....>
how can I add a file to the post data? I mean adding it to the post string: "domain_lang=en&action=upload&the_file=........"

thanks.

nobody knows how to send a file in post method? :-(

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.