You would use System.IO classes, specifically Directory, File, DirectoryInfo
and/or FileInfo. Basically, you would use Directory.GetFiles() to get a list
of all the files in the directory, display the array of file names in your
page, and the tricky part, delivering them to the client, could be done with
an ASPX page that fetches the file (using IO) and returns it as a response
to the browser. Depending upon the file type, it might also have to set the
Response.ContentType to the appropriate MIME type for that file type.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
"JB" <di******@gmx.net> wrote in message
news:e8****************@tk2msftngp13.phx.gbl...
Hello,
I want to display a list of word-documents on our intranet. I know how to
do that with the filesystem-classes when the documents are inside the
webstructure.
For many reasons it is better to keep the documents out of the
web-structure. So can somebody explain to me or point me to an article on
how to get documents that are not in the web-structure.
Thanks,
Digidodo