So I have this code below that creates a Directory and gives ASPNET permissions on the folder created. But when I run The Webclient.Downloadfile method, it says the folder created is still access denied..
Ive also just created a folder on C:/ and tried applying permissions my self and see what I get. But I still get access denied.
Ca...
I would like to SET ALL permissions to True for all users of a computer, while using Directory.CreateDirectory
Could you point me a point to start?
...
I have a web application that creates directories.
The application works fine when creating a directory on the web server, however, it does not work when it tries to create a directory on our remote fileserver.
The fileserver and the webserver are in the same domain.
I have created a local user in our domain, "DOMAIN\aspnet". The loca...
Hello SO's
i am trying to create a directory in drive C: (at a win7 target machine) with Directory.CreateDirectory but so far no luck.
I believe the problem has to do something with permissions-security... So here i am..
How can i create a directory in drive C?
...
I would like to create a dir, but if it already exists I would like to remove it (along with all its content) first.
Should I explicitly add an if (-d ...) or is there a simpler mkdir that already does that?
...
I have a collection of files with fully qualified paths (root/test/thing1/thing2/file.txt). I want to foreach over this collection and drop the file into the location defined in the path, however, if certain directories don't exist, I want them to great created automatically. My program has a default "drop location", such as z:/. The ...