PC Review


Reply
Thread Tools Rate Thread

ASP .NET - Virtual Folders - File manipulation functions

 
 
Richard
Guest
Posts: n/a
 
      6th Oct 2010
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
String Manipulation Functions - Crosswalk to FoxPro/xBase function =?Utf-8?B?UGF1bCBGYXJzZXRo?= Microsoft Access VBA Modules 1 18th Mar 2005 09:28 PM
new virtual functions headware Microsoft C# .NET 0 16th Dec 2004 08:06 AM
Using Data Manipulation Functions SQL newbie Microsoft Access Queries 2 22nd Jul 2004 07:32 PM
Re: Excel data manipulation functions Charlie Microsoft Excel Misc 2 19th May 2004 02:43 AM
string-manipulation functions John A Grandy Microsoft VB .NET 7 16th Sep 2003 10:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:36 PM.