[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] update static html site over ftp (rsync like ftp syncing)



On Thu, 2004-01-15 at 12:25 +0100, Alex Polite wrote:
> I'm helping my girlfriend updating her website. It's static HTML and
> pictures and the only way to update it is over ftp.
> 
> So far I've been using gFtp. I can either upload the site file by
> file or upload all files in one go.
> 
> When I've changed some 30 files none of thees options are really
> good. I'm looking for a smarter ftp client that checks the md5sum (or
> something) of the files on both ends and only upload files that have
> changed since the last upload. I guess that the FTP protocol doesn't
> support this natively but it could be done by adding an md5sum file
> for every file on the site, preferably with the sum in the filename.
> 
> I'm sure someone has already written a script for this.
> 
> alex
> 
> 
> -- 
> Alex Polite
> http://plusseven.com/whoami

I'm using "sitecopy" to acheive this across several sites, and it does
the job well. (I spy a 'xsitecopy' frontend also, but haven't used
that.)  It can keep track of files by either timestamps or checksums -
using the later it'll detect moved/renamed files also.  Great stuff.

One thing to pay attention to however, is that it doesn't compare local
against remote - it records the state when you upload, then next time
compares that against the local directory. This works just fine until
you make uploads outside of sitecopy and forget to make it aware of the
changes ..

HTH,
  Shaun




Reply to: