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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top