472,779 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,779 software developers and data experts.

Advice needed for file archiving utility..

Jim
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!
Nov 21 '05 #1
2 1395
Jim,
Have you looked nnto folder replications using "Distributed File System"
"Jim" <gu**@hotmail.com> wrote in message
news:2b*************************@posting.google.co m...
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!

Nov 21 '05 #2
From my initial look at using DFS & Replication it looks as if it
would take care of the replication of the local client computer shares
data needs, but I would still need a utility to remove data off the
local computer based on set retention times for that particular
computer, and only after it checked to make sure that data was on the
network file server before it removed the local computers data.

Or..... Can DFS & Replication be setup to remove data based on certain
retention also.. If so a URL would be useful.

If not then I would still need a utility that removes the data.
"solex" <so***@nowhere.com> wrote in message news:<eN**************@TK2MSFTNGP10.phx.gbl>...
Jim,
Have you looked nnto folder replications using "Distributed File System"
"Jim" <gu**@hotmail.com> wrote in message
news:2b*************************@posting.google.co m...
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!

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Carl Bevil | last post by:
I'm creating a library for internal use that relies on third-party code. I don't want clients of this library to know anything about the third party code, when compiling or running. Generally...
5
by: Nick Malik | last post by:
reposting to a wider audience "Nick Malik" <nickmalik@hotmail.nospam.com> wrote in message news:WYONc.203854$XM6.119642@attbi_s53... > My turn to ask a question > > I am working on a plug-in...
3
by: Alex | last post by:
Hi all, I'm looking for some advice on how best to implement storage of access logs into a db/2 8.1.4 database running on a RH 7.2 system. I have 5 (squid) web caches running here that...
1
by: mwnorris | last post by:
Thank you for your help in advance! I am having a serious difficulty with a database conversion utility that I have created using Director and Datagrip to help support a database application...
4
by: Nick Malik | last post by:
My turn to ask a question I am working on a plug-in for Sharepoint that will allow a developer to add workflow rules. One of the rules will inform the adapter that it should load a DLL that the...
4
by: JH | last post by:
I have a GUI app and i have a console app that performs some processing. The GUI app calls the console app to do processing at various times. The console app will need to be run in a separate...
5
by: Ted | last post by:
I am working on two versions of an application, one of which will be a windows forms application (which will need to be redistributable) and the other will be a web application. I have MS Visual...
4
by: cold1 | last post by:
From the Coldfusion 8 documentation, the process of archiving a log file seems pretty straightforward, but I can’t find the archived log files. I am running Coldfusion 8 under Apache HTTP server. ...
2
by: xahlee | last post by:
In this week i wrote a emacs program and tutorial that does archiving a website for offline reading. (See http://xahlee.org/emacs/make_download_copy.html ) In the process, i ran into a problem...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.