This sort of application is a bit complex to develop as a newsgroup answer,
but generally:
In ASP.NET, you would use the Server.MapPath method to get the physical path
to your upload folder, then use System.IO.DirectoryInfo object to get a list
of filenames in that folder, and then ADO.NET to query the database and find
any hits on each filename.
In ASP, you would still use the Server.MapPath method to get the physical
path to your upload folder, but then you'd use the Scripting.FileSystem
object to get a list of filenamess and ADO to query the database and find any
hits on each filename.
Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*-----------------------------Â-----------------------
|\----------------------------Â-----------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||----------------------------Â-----------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/----------------------------Â-----------------------
*-----------------------------Â-----------------------