Reading a list of files from a virtual folder

  • Thread starter Thread starter peter smith
  • Start date Start date
P

peter smith

Hi all.

I have a vdir folder setup on our website that points to a netowkr share.
How can I get a list of the files in this folder as the directoryinfo class
needs an actual location not a url path?

Thanks
P
 
use MapPath(string) method; it will return the UNC path for the virtual folder
 
Back
Top