For a web applicaiton, creating a folder using server code will create it on webserver. Don't think you want user to select a path on server to create a folder.
That would leave you with option of a defined location by you on server where you want to create folder. Now, this folder can be user specific.
Roughly, this translates to:
1. Choose/Define a path on server where all the folders will be created. Use that absolute path or relative to your application.
2. Create folder based on user (username or userid)
3. upload data for that user in their folder.
Now, assume:
1. you pointed a web site application (http://www.example.com/) to
C:\Inetpub\wwwroot
2. Installed your
testuser application (webapp as virtual directory in IIS, marked as application) at:
L:\MyWebApps\testuser
3. You choose to upload all files at location:
L:\MyWebApps\testuser\alluseruploads
Then code looks like:
string uploadRoot = Server.MapPath("/testuser/alluseruploads");
string folder = string.Format(uploadRoot +"/{0}/", folderName);
if(!Directory.Exists(folder))
{
Directory.CreateDirectory(folder);
ViewBag.Message = "Folder " + folderName.ToString() + " created successfully!";
}