From: Richard on 5 Oct 2010 19:36 Hello, Can any of the following functions work with the parameter passed as a virtual path in a format like "http://localhost/MyWebApp/MyAppTempFiles" ? File.Exists() Directory.Exists() File.Delete() File.Move() In my .NET web app virtual directory in IIS I have a virtual folder named "MyAppTempFiles" (pointing to a folder outside the web app folder let's say "c:\Web_App\Temp_Files"). The webpages access the files in that folder using the virtual folder defined in IIS. But when the app needs to delete or rename files, it has to find the real path to the virtual folder on the server's file system. Is there a way to delete and rename files thru their virtual folder's addresses like "http://localhost/MyWebApp/MyAppTempFiles" ? Thanks in advance, Richard
|
Pages: 1 Prev: ASPX Programer Next: Blocking unwanted content from this newsgroup |