I work in the environmental industry and we have large gcms
instruments that aquire raw data to an attached computer. These
computers are networked, and have shared folders so the data can be
accessed from the network.
I would like to create a fairly simple utility that copies data from
the computers shared folders onto the network. It will also depending
on if the file successfully copied, check if the file/folder(s)
modified date is older than a set retention time - if it is older then
the retention time and the a file with the same or newer modifed date
resides on the network than it delete the file off the local machine.
What Im wondering is :
1. What would be the fastest most efficient way to copy these files.
For example using API versus the built in functions of VB.
2. Im wondering if there are any advtanges to using .NET vs VB6 to
write this program. Does .NET have new updated functions that would
benefit me in writing such an application.
3. What kind of suggestions do you have for error trapping. For
instance how would I log specific files that didnt copy. Is there a
particular order or logic I should have when checking for files that
need to be copied, if they are copied, is the computer im trying to
connect to even turned on, if it isnt than put that computer at the
bottom of the queue and try again later, if it still isnt on keep then
email administrator to let him know that computer didnt get backed up,
etc.. Any advice in this area or past experiences appreciated.
Thanks for your help ahead of time!