I'm trying to use DirectoryList on a virtual directory, to build up a list of files. However I get the error;
URI not supported
Is there an alternative to this that supports URLs? Here's my code so far.....
DirectoryInfo directoryinfo = new DirectoryInfo("http://localhost:1080/mydatafolder");
IEnumerable<FileInfo> fileList = directoryinfo.GetFiles();
As double check, I've made sure the directory browsing has been turned on, and I can surf to it using Opera.