CHttp...
I am a newbie to internet programming, so if anyone can help with this, please take me step by step and don't assume I know anything.
There is a web page that I can access on a router (conviently sitting next to me). On it, I am able to "Browse" for a file and then "Load" it. Which actually sends it through a program on the router called "config". "config" will then do stuff to the file and save it wherever and however it needs it.
Now for my problem.
From my Visual C++.NET program, I need to send a file (we'll call it dummyfile.dat) over to the router and have it go through that "config" program.
All I'm trying to do is emulate what they do via HTML on their web page. Here is what I think is the right line from the HTML
<FORM METHOD="POST" ACTION="/cgi-bin/config" enctype="multipart/form-data">
NAME="CONFIG" id="browse"
I've figured out the connection part, but for the request part and on, everything I have tried has failed. If this was a regular, put-the-file-over-there thing, I think I'd be ok. But I just don't get this "run-a-program-over-there" thing.
Someone PLEASE help me! I'm desperate and on a deadline!!!!
Thanks in advance
|