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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retreive file sizes from multiple network shares ASP.NET C#

Status
Not open for further replies.
Feb 4, 2011
53
CA
Greetings all,
I am a complete beginner programming ASP.NET and using Visual Studio. I have programmed with PHP and MySQL for quite some time so I am not a complete programming noob. My current application is being written in ASP.NET and entering/pulling data from an existing MySQL database. My ultimate goal for this particular page is this, I have several SQL Servers that backup to a SAN. I can access these backups over the network via a server we have specifically setup for these databases to copy their backups to the SAN. What I am looking to achieve is to take the current date, go back one day and find a backup that was made that day. I want to pull the file name and file size and input it into the database. Each server copies it's backup into a separate folder on the network. So, I have a table that holds the Databases and their folder locations on the network. So I will eventually be pulling that information from the DB, looping through it to open the folder, get the file sizes and place the information in the backup table. What I need at this moment as I don't wish to have everyone write the entire sequence for me, is help getting started. Parsing through the folders and retreiving the filenames from the network shares and placing that information into a database.


All help is greatly appreciated. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top