Ceci n'est ce pas Matt Gumbley


Updated Mon Dec 30 22:03:34 2002

Site Map
Site Home page
Matt's home page
Angela's home page
Natasha's home page
Hannah's home page
Our Wedding Pages

Personal
Online CV
Family history

Projects
Latest News
The Crypt
(Old, Dead Projects)
Miscellaneous
QtGantt
HTML Macro System
SigChange
Home Page Sync
Psion EPOC
Overview
Mixed Language Programming
GDB Debug Stub
hForth Port
Disassembler
Psion SIBO
All SIBO projects are in
The Crypt
Linux
Toshiba 40xx & Linux
Network-RS232 Bridge
Psion Protocol Analyser
Serial Line Analyser
Work on plptools
Psion .img tools
Happy Badger Linux
Linux Psion Link Ideas
Amateur Radio
Amateur Radio Software

Popularity

accesses so far..


Matt J. Gumbley - http://www.gumbley.demon.co.uk

hpsync - Matt's Home Page Synchroniser

Abstract

hpsync tracks updates to the local copy of your homepages, and automatically synchronises Demon's home page server with your local copy. It could be used with any FTP server.

Table Of Contents



1 Introduction

Manually updating your Demon Internet homepages can be a drag. You change a copy of the pages on your local hard disk, then launch an FTP client to connect to Demon's homepage srver. You then manually synchronise your local, updated pages, with those on the Demon server, adding new pages, updating changed ones, and deleting obsolete ones. This can be tedious, and cries out for automation.

You could do the above with a commercial package, such as Microsoft Frontpage, but that's expensive, proprietary, and not as easily automatable as the solution presented here.

The home page synchroniser, hpsync, is a Perl program which can be run whenever you connect your Linux box to the Internet. You tell it where your home page is on your local disk, and it works out (from a configuration file in that directory) what the address of the FTP server is, what your user name and password are, and then starts the update.

hpsync keeps a list of what is on the Demon server - it does not interrogate the remote server every time it connects. When you change a file on your local hard disk, it detects a difference in the list, and what's actually on disk. It then builds a list of files to be uploaded, directories to be created on the remote machine, and obsolete remote files and directories to be deleted.

If any changes are needed, hpsync will connect up to the server, and do the updates by calling the standard FTP program, and chatting to it, much as you might, if you were doing it by hand.

The list on disk is then updated, and the connection closed.

The result is that you only need to change the pages on local disk, and not worry about the upload - it will be taken care of next time you connect.


2 Status

This product is not yet ready for release. Check back later!
Matt J. Gumbley - matt <at> gumbley <dot> demon <dot> co <dot> uk