getting all filenames from a location
Posted: Tue Apr 20, 2004 1:42 am
The script im using atm automatically creates a counter file in a folder, but doesnt remove them after the system is finished with them. I know how to remove them when they need to go, but obviously before then i need to do some garbage collecting.
So... Is it possible to load every filename from a folder into an array? basically i need to go thru the whole folder, check the file is current to the db, and remove it if it isnt.
Answers as always, gratfully recieved
So... Is it possible to load every filename from a folder into an array? basically i need to go thru the whole folder, check the file is current to the db, and remove it if it isnt.
Answers as always, gratfully recieved