[thelist] How do I programmatically display the contents of a virtual directory

Joshua Olson joshua at waetech.com
Tue Aug 17 14:13:17 CDT 2004


> -----Original Message-----
> From: Craig Burkett
> Sent: Tuesday, August 17, 2004 2:50 PM
>
> I want to programmatically display the contents of a virtual directory
> in an asp.net application.  How do I do this or can some one at least
> tell me which classes to use?  FYI, the physical directory, that the
> virtual directory refers to resides on a different server.

Craig,

If this was an ASP application, I would tell you to use
Server.MapPath("/vdirname") with FileSystemObject to get the contents of the
folder in question.  With ASP.NET it should work just about the same way.

<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com/service_areas/
706.210.0168




More information about the thelist mailing list