Using files from a virtual directory

PROKA

Junior Contributor
Joined
Sep 3, 2003
Messages
249
Location
Bucharest
Ok so my project is in C:\Inetpub\wwwroot and I have to save some files on D:\ (another partition)

users are uploading files and then the application needs to show them

How to access the d:\ ? and how to show them the files ?

I tried to work with a virtual directory, created one for D:\database\ but somehow I got mixed up
 
ok so I have a
picture = System.Drawing.Image.FromFile(.......)

I cannot use absolute paths ("D:\.....")

I have somehow to relate to that virtual Directory. How could I accomplish that ?
 
Back
Top