473,714 Members | 2,500 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Automatic updating of some tables from ftp download

My App has 10 or so tables that we provide that contains proprietary data.
This data will need to be updated once or twice a year.

I would like some comments, suggestions on my proposed strategy for updating
these tables via an ftp site:

1) Post a .mdb file to our ftp web site that contains the updated tables. My
App code connects to the ftp site and gets the file name for any update files
on the site. I already have code to do this and it works fine. My plan is
to have a FTPDownload Table in the backend of My App. It will contain the
name and date of the last update file downloaded. If the current update file
has a later date, it will be downloaded. Should I also keep a separate
record for each table in My App that is updated this way? Not every table in
My App will necessarily need to be updated each time there is a download and
as the developer I may need to know when the last update for each table
occurred not just when an update file was downloaded. Suggestions, advice?
2) If update file is more recent than last update, ask the administrator if
they wish to continue. If so start the forced logoff process to disconnect
everyone from the back-end file. This code is already present in My App.
Also, I’m planning to backup the back-end file from code prior to deleting or
importing any tables.
3) Once the back-end file is backed up, download the update .mdb into a
temporary folder created by code. Use TransferDatabas e to copy the new
tables from the update .mdb to the back-end file, using code in My App. When
should I delete the existing tables before or after the import? If after,
then all of the imported files will need to be renamed because they will have
a “1” at the end.
4) After the update, delete temporary folder that was created to hold the
update .mdb.

What’s the recommended method for initiating this process. Should the code
look for updates every time My App starts up? BTW: Only members of the
Admins group are allowed to update the tables. Should this be manually
initiated by administrators, but they won’t really know when an update is
posted.

Thoughts, recommendations , suggestions are greatly appreciated.

--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200604/1
Apr 26 '06 #1
1 2717
rdemyan via AccessMonster.c om wrote:
My App has 10 or so tables that we provide that contains proprietary data.
This data will need to be updated once or twice a year.

I would like some comments, suggestions on my proposed strategy for updating
these tables via an ftp site:

1) Post a .mdb file to our ftp web site that contains the updated tables. My
App code connects to the ftp site and gets the file name for any update files
on the site. I already have code to do this and it works fine. My plan is
to have a FTPDownload Table in the backend of My App. It will contain the
name and date of the last update file downloaded. If the current update file
has a later date, it will be downloaded. Should I also keep a separate
record for each table in My App that is updated this way? Not every table in
My App will necessarily need to be updated each time there is a download and
as the developer I may need to know when the last update for each table
occurred not just when an update file was downloaded. Suggestions, advice?
2) If update file is more recent than last update, ask the administrator if
they wish to continue. If so start the forced logoff process to disconnect
everyone from the back-end file. This code is already present in My App.
Also, I'm planning to backup the back-end file from code prior to deleting or
importing any tables.
3) Once the back-end file is backed up, download the update .mdb into a
temporary folder created by code. Use TransferDatabas e to copy the new
tables from the update .mdb to the back-end file, using code in My App. When
should I delete the existing tables before or after the import? If after,
then all of the imported files will need to be renamed because they will have
a "1" at the end.
4) After the update, delete temporary folder that was created to hold the
update .mdb.

What's the recommended method for initiating this process. Should the code
look for updates every time My App starts up? BTW: Only members of the
Admins group are allowed to update the tables. Should this be manually
initiated by administrators, but they won't really know when an update is
posted.

Thoughts, recommendations , suggestions are greatly appreciated.

--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200604/1


Several months ago I wrote a database that allows a manufacturing
company to ensure that fabricators are using the most current set of
Prints/CAD Data. It probably saves them several hundred thousand
dollars per year since it is very expensive to build to an obsolete
blueprint. It took about two weeks to write. Someone in the CAD
department was given the assignment of maintaining a limited-access
directory on the server containing the most up-to-date manufacturing
data available. Once the JobID is selected on the main form, a subform
fills with the latest posted set of filenames. When the 'Create IPDR'
(IPDR stands for Inspection Plan Data Register) command button was
clicked, Access deleted the files in a public directory on the server
(created if not present) and copied the files on the subform from the
control directory to the public directory along with a PDF file
(created by Access) showing the names of the current files and any
files marked as obsolete (not copied to the public directory). Since
some of the data files are in the several hundred Meg range it caused
high network loads to update the data files. The reasoning behind the
change was that a few files added to the list or changed shouldn't
require the entire set to be replaced. I was also told that different
individuals had responsibility for different jobs and thus concurrency
would not be an issue.

I added a checkbox to the subform called 'Freshen' that comes up
unchecked when the file list is brought in. Any new files chosen from
the combobox on the subform (recordsourced to a function that gets the
filenames from the control directory) or any edits to the record cause
the 'Freshen' field to check. I explained that by using the 'Freshen'
field they were taking more responsibility upon themselves to know
exactly which files have been updated. Now when 'Create IPDR' is
clicked, Access deletes any files from the target directory that are
not contained in the subform's RecordsetClone or that have 'Freshen' or
'Obsolete' checked. Afterward, only the files marked 'Freshen' are
copied to the target directory. When using FTP to transfer files I
always use a different name until after the files have been
transferred. Hopefully this will give you some ideas.

James A. Fortune
CD********@Fort uneJames.com

May 1 '06 #2

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

Similar topics

3
2086
by: Todd Cary | last post by:
Some of my clients would like to have a way to update text and tables in their HTML pages without the need for or understanding of complicated updating programs. Does such a program exist? My concept is to have tags embedded within the page that would be recognized by the application. Transparently the "tagged areas" would be updated using nothing more that Excel and or Word (everything behind the scene would be done automatically -...
5
2371
by: Shane | last post by:
I wonder if someone has any ideas about the following. I am currently producing some reports for a manufacturing company who work with metal. A finished part can contain multiple sub-parts to make up the finished part. The sub-parts can also be made up of sub-parts and those sub-parts can also be made up of sub-parts etc etc. All parts are contained within the same table and I have a seperate table
14
1374
by: WindAndWaves | last post by:
Hi Gurus I have been working on a rather sophisticated update procedure for FEs of my application that are spread throughout the country. Now, I recently thought: WHAT IF I identify all the objects in the database (may it be tables, queries, forms, etc.....ie. NOT BE tables) that have been changed recently.
0
2579
by: jmd | last post by:
Hello. I want to write a C# program that does completely automatically what, until now, I do manually, witch is describe below : 1. I launch IE (6) 2. I browse to my desired download page, say http://www.site.com/download This download page contains some textboxes, checkboxes, radiobuttons, a DOWNLOAD BUTTON and text 3. I check some checkboxes, select some radiobuttons, enter text in some textboxes and click on the download button
2
1872
by: Trygve Lorentzen | last post by:
Hi, I'm developing an app with automatic version checking and updating. It must also track what version is installed for each customer in our customer database. I have made a small client to fetch updated file(s) from the net and copy over the old files. I figured this must be done since the program itself will be read/write locked as long as it is running. I have a progressbar prgDownload that shows the download progress. My main...
18
16401
by: jmd | last post by:
Hello, I posted the following in the C# forum but without one answer. But perhaps now in vb.net someone has some guidelines ! This is my question : I want to write a vb.net program that does completely automatically what, until now, I do manually, witch is describe below : 1. I launch IE (6)
4
5093
by: Philip Nelson | last post by:
Folks, I've got a database and tablespaces "managed by automatic storage". I've deleted a lot of data from some tables. I've then reorged them. But the tablespaces don't appear to shrink in size (they just have lots of free space). How can I get DB2 to give the space back ?
5
2099
by: aaron.m.johnson | last post by:
I have an application which contains an Access database with linked tables that point to another database within the application. The problem I have is that when the user installs the application, I need to update the table links so that the paths are correct for the install directory. Is there an easy way to accomplish this? I'd really like to avoid duplicating the data in the linked tables, but if updating the links is too much work,...
4
1989
by: rdemyan via AccessMonster.com | last post by:
My application is calculation intensive and the servers are agonizingly slow. Administrators of my application only update the backends once a month (twice a month max). So, my launching program allows the back-end file to be downloaded to the user's PC. This will provide maximum speed for these calculations/manipulations of data. Without this, just logging into the main app connected to the server back-end file can take five minutes...
0
8801
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, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8707
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
9074
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
9015
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7953
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 project—planning, coding, testing, and deployment—without 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...
0
5947
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();...
1
3158
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
2
2520
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2110
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.