D
David
Hi all,
How would I go about this?
I am doing a document management system and I need to write a clean up
routine.
I will create two arrays. One of them will have a list of filenames I have
dragged from a database (I actually have to parse strings to get filenames,
but I can already do that). I will be inserting the file names into an
arraylist.
The second arraylist will be a result of reading the filesystem.
What I want to do is then cross compare. Basically, any surplus files from
the filesystem arraylist will be deleted, so I need to know if the file in
the filesystem is in the filelist from the database.
Any ideas on how I can do this would be appreciated.
Best regards,
Dave Colliver.
http://www.LeedsFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
How would I go about this?
I am doing a document management system and I need to write a clean up
routine.
I will create two arrays. One of them will have a list of filenames I have
dragged from a database (I actually have to parse strings to get filenames,
but I can already do that). I will be inserting the file names into an
arraylist.
The second arraylist will be a result of reading the filesystem.
What I want to do is then cross compare. Basically, any surplus files from
the filesystem arraylist will be deleted, so I need to know if the file in
the filesystem is in the filelist from the database.
Any ideas on how I can do this would be appreciated.
Best regards,
Dave Colliver.
http://www.LeedsFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available