Hi,
I need to be able to generate a list of files from a virtual directory on a 2nd web server.
While the code below works fine for the local system
If I try & utilise a path of howvere I get an error that this is not a valid virtual path
Anyone have any ideas how I can achieve this ?
Thanks
I need to be able to generate a list of files from a virtual directory on a 2nd web server.
While the code below works fine for the local system
Code:
DirectoryInfo myDir = new DirectoryInfo(Server.MapPath(""));
If I try & utilise a path of howvere I get an error that this is not a valid virtual path
Anyone have any ideas how I can achieve this ?
Thanks