how would i using ASP be able to list files in a directory on a server (the folders location is in a textbox) and then have ASP list and link all the files in that folder.
thanks in advance
scroots
__________________
Spammers next time you spam me consider the implications:
(1) that you will be persuaded by me(in a legitimate mannor)
(2)It is worthless to you, when i have finished
<%
if (directory != ""){
var fileobject = Server.CreateObject("Scripting.FileSystemObject");
if ( fileobject.FolderExists(directory)){
var folder = fileobject.GetFolder(directory);
var filelist = new Enumerator(folder.Files);
Thank you so much it will save me lots of time hand coding it all.
scroots
__________________
Spammers next time you spam me consider the implications:
(1) that you will be persuaded by me(in a legitimate mannor)
(2)It is worthless to you, when i have finished