Hi,
You need to check if you have sufficient permission.
Also, when you try to create it thro' code the
impersonation would have occured thro IUSER_...
So, couple of things you need to check is "if there is
already a directory in teh same name"
second, if "IUSR_" has an admin permission ,but even then
it is not a worhty idea to create programmatically a
directory on the web server until and unless it is going
to be a private folder for the app to use.
Then if you are going to use a private folder for the app,
then why dont u create a folder internally as a temp
folder.
Probs if you can throw more light on why you need this i
might be able to help you.
-----Original Message-----
Hi,
I tried following code, but I get an execption "URI
formats not supported"
Directory.CreateDirectory
(@http://www.test.com/shop/images);
The path is not located on my own computers, but on the
computers of an ISP.
Cannot I use Directory.CreateDirectory on a web server or
is there somethingelse wrong with my code?
Many thanks in advance,
Christian
.