Last post Feb 15, 2010 01:21 PM by haggis999
Feb 15, 2010 11:47 AM|haggis999|LINK
I want to create a function for use on my ASP.NET 3.5 website that will step through a folder of image files one by one. Each filename found would be checked to see if it met certain conditions (this would involve making checks with the associated SQL Server
database). If the file is okay, the function would just move on to the next file. If not, the file would be moved to another folder.
My problem is that I don't know how to define the list of files in a folder. I would appreciate some suggestions, preferably in VB.NET.
Feb 15, 2010 01:01 PM|ScriptStudios|LINK
string filelist = Directory.GetFiles(Server.MapPath("~/pathGoesHere")
Feb 15, 2010 01:21 PM|haggis999|LINK
Thanks for that.