Hi,
I am using wininet to upload a file to a server.The server side is a PHP script.
The client side and server side is similar to that described in this link:
http://efreedom.com/Question/1-19853...ile-Using-HTTP
I file gets uploaded with text "file contents here"(the sample text shown in the thread).
How can I give the actual contents in place of that(i m a newbie in VC++)?
And i want to do this in Unicode build since this code is to compiled as a smart device dll to be used in a windows mobile.
I file contents should contain the mime boundary and all the details shown in the variable frmdata in the sample,followed by actual contents of the given file and then end with the mime boundary.
ie,I want to append the three parts and assign it to a single variable and then pass the variable to the HttpSendRequest.
Please provide code for passing (reading)the contents of the file along with mime with the given mime details to the HttpSendRequest().
thanks in advance.