Creating Folder in ASP.NET application

onepieceking

Well-known member
Joined
Sep 20, 2006
Messages
64
Programming Experience
1-3
Hi,

I wish to create a folder in the web server's computer on the click of a button.

When the user clicks the button, a folder (eg C:\ABC\Folder1) will be created.

I have thought of using DirectoryInfo.Create to create the folder, but will there be any permission problems? The folder has to be able to READ and WRITE because I will be adding, deleting and renaming files into this folder on the click of buttons also.
 
Do you mean you get error/exception when you do this?
 
No. So far, I have created the folder and it seems ok from my dev computer. I am testing on localhost only but I just wonder if there would be any problem if another computer is to do this.
 
Back
Top