title: Delete file on server
body: <p>I have a file path in the format <code>file://SERVERNAME/FOLDER$/FOLDER/image.jpg</code>. I call <code>System.IO.File.Delete(Server.MapPath(file://SERVERNAME/FOLDER$/FOLDER/image.jpg))</code> to delete the file, but i get the error <code>file:/SERVERNAME/FOLDER$/FOLDER/image.jpg' is not a valid virtual path.</code> I notice that a '/' is missing and I do not know why. How will I delete such file?</p>
  
  <p>I have tried converting my file path to <code>file:////SERVERNAME//FOLDER$//FOLDER//image.jpg</code> but this did not help. Same thing happens. If I omit the <code>Server.MapPath</code>, I get an error saying URI is not supported.</p>
  
  <p>How to do this please?</p>