November 4th, 2003, 08:57 AM
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
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.
November 4th, 2003, 10:51 AM
Did you design and develop the HTTP server? I do not think the client has control over the server.
November 4th, 2003, 10:12 PM
I am uploading to an IIS server...I have configured the server to
have write access so that i can upload files...
November 5th, 2003, 12:16 AM
I think you'd better write a ISAPI dll in your IIS server side
If i am senseless and i could answer your question, i will.
November 5th, 2003, 06:55 AM
Thank you for that....
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!