473,652 Members | 2,935 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1456
Jim,
Have you looked nnto folder replications using "Distribute d File System"
"Jim" <gu**@hotmail.c om> wrote in message
news:2b******** *************** **@posting.goog le.com...
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******* *******@TK2MSFT NGP10.phx.gbl>. ..
Jim,
Have you looked nnto folder replications using "Distribute d File System"
"Jim" <gu**@hotmail.c om> wrote in message
news:2b******** *************** **@posting.goog le.com...
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
2209
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 I've been achieving this by having an abstract base class which defines an interface, and inheriting a concrete class which defines the implementation. Clients of the library deal only with the base class and request objects of that type from a...
5
1786
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 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 developer writes, find a method that matches a
3
2063
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 service the whole university. All access to external web sites must go through these caches. Each cache generates a gzip'd access log file that's about 100Mbytes every night.
1
1735
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 that we already have in the field. We just updated our database structure and this utility reads information from the previous version database and plugs it into the new database.
4
1429
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 developer writes, find a method that matches a particular interface, and call it. I know, in general, I should be looking at the reflection classes. Does anyone have any design advice for me, or good working examples that would serve as a...
4
1206
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 thread (in order to leave the UI useable) however it will need to report various messages (strings) during its processing to the GUI app's output window. Similar fashion to the output window in visual studio. In the old MFC days a nice way to do...
5
2935
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 Studio 2005 (along with the developer's edition of MS SQL Server), but not MS Access. I also have MySQL, PostgreSQL, Sun's application server, Tomcat and Apache web server. I am working on Windows XP Pro, and have installed the .NET 3 SDK and...
4
3865
by: cold1 | last post by:
From the Coldfusion 8 documentation, the process of archiving a log file seems pretty straightforward, but I cant find the archived log files. I am running Coldfusion 8 under Apache HTTP server. Its pretty much a plain vanilla implementation using default settings. If I click the archive log file button on one of the files, it recreates the log file, but what does it do with the old file? It seems the old file is just deleted. Is...
2
1400
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 with the unix “cp” utility. I've been a unix admin for Solaris during 1998-2004. Even the first time i learned about cp, i noticed some pecularity. But only today, i thought about it and wrote it out exactly what's going on. Here's a...
0
8370
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8283
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7302
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5620
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4147
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2707
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.