saurabh_helloaish
October 14th, 2004, 11:55 PM
hi
I need to write code in vc++.net to upload around 4MB of file from my local machine to the server.
code is something like this
here tempURL is the url where the file need to be posted at the server
HttpWebRequest* myHttpWebRequest =dynamic_cast<HttpWebRequest*>(WebRequest::Create( tempURL ));
WebProxy* myProxy=dynamic_cast<WebProxy*>(myHttpWebRequest->Proxy);
HttpWebResponse* myHttpWebResponse;
myHttpWebResponse = dynamic_cast<HttpWebResponse*>(myHttpWebRequest->GetResponse());
any help
I need to write code in vc++.net to upload around 4MB of file from my local machine to the server.
code is something like this
here tempURL is the url where the file need to be posted at the server
HttpWebRequest* myHttpWebRequest =dynamic_cast<HttpWebRequest*>(WebRequest::Create( tempURL ));
WebProxy* myProxy=dynamic_cast<WebProxy*>(myHttpWebRequest->Proxy);
HttpWebResponse* myHttpWebResponse;
myHttpWebResponse = dynamic_cast<HttpWebResponse*>(myHttpWebRequest->GetResponse());
any help