Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File retrieval and text file parsing

Status
Not open for further replies.

CoderMan

Programmer
Aug 20, 2002
8
US
I am designing a solution and would like some input as to what the most efficient way to do it would be.

My Problem:
I have a set of files sitting across the network. I have an xml list that contains a list of files names. I need to verify that the file names that I have actually exist across the network. There are a lot of files across the network currently around 120,000 and growing. They are grouped into different folders.

My solution:
1. Every time the user wants to check, he/she kicks off a batch job that goes across the network and retrieves the list and dumps the entire list to a text file.
2. The entire list then gets loaded into a hashtable.
3. Then I can quickly search for the file.

I am not sure if this is the most efficient way of doing this. Looking to see if some one can help with better and more efficient solutions. I am planning to do this in C# and ASP.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top