Creating a Simple Updater

G

Guest

Hi

I have in each of my clients Application directory (30) several files and
subfolder sometimes I need to update just a specific .mdb or .txt or .exe or
only the app.config .

I have tried to do something using the UpdatedApplicationBlock but because
of my Directory structure and the variety of files, it seem too much
complicated to me, and I want the update process be done for the person in
front of the PC.

I have my FTP server.
I want to write a little program to do this:

When somebody press the ButtonA:

a) Go to my FTP Site
b) Download the File named myNewFile1.xxx
c) Move c:\MyApp\Dir1\myOldFile.xxx to a backup folder
d) Move myNewFile1.xxx to Directory c:\MyApp\Dir1

I think this is not hard to do, but I need some orientation

Thks
 
R

Richard L Rosenheim

The approach that I use when I wrote my updater was to have the application
retrieve a XML file that contains what files need to be updated, their
location on the web, and the target location.

Hope this helps the thought juices flow,

Richard Rosenheim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top