How to create folder in mvc4
<p>I am developing one MVC4 application and hosting in IIS web server. </p>

<p>I want to upload and save few files in folder called <code>UploadedFile</code> inside <code>F</code> drive. 
I wrote below piece of code to create folder however it does not work</p>

<pre><code>if (!System.IO.Directory.Exists(Server.MapPath("~/F:/UploadedFile")))
{  
  System.IO.Directory.CreateDirectory(Server.MapPath("~/F:/UploadedFile"));
}
</code></pre>

<p>When i am hosting  to IIS i will keep all the published files inside <code>inetpub</code>(files like dll(bin),css,js etc). But i am planning to keep pdf files uploaded by user in F drive. </p>

<p>Is this good practice to keep files outside <code>c</code> drive? can some one give some suggestions please.</p>