Hi all,

Have a small problem related to uploading files to an IIS server.
I am only able to uploaded files to an existing directory
in the server machine.
What i want to do is that even if the user gives an non-existing
directory the program should create and save the file in that
directory.

I am using the HttpOpenRequest Api as follows:


HttpOpenRequest(hConnect, "PUT","/temp/pag.txt",NULL, NULL, NULL,0,0);

Here suppose the Directory "temp" is not present in the server
machine my program fails...how can i create that "temp" folder and then save the "pag.txt" file.

thanking you..

ashwath.