Hello Don,
You didn't specify what kind of system that your "local directory" is
on, so I'll provide both Windows, Macintosh, and Unix (Linux)
recommendations. If this answer doesn't hit the mark - let me know
with a clarification request and I'll get you a better answer.
A browser based solution I found (runs on many different systems)
is...
Unlimited Ftp
http://www.utechsoft.com/uftp/index.jsp
I would not call this cheap - $600 is the minimum license fee (plus
support). I mention this only because the flexibility to run on many
different types of systems.
On Windows, you have a few options...
A capability in your ftp client such as...
Ws_Ftp Pro
http://www.ipswitch.com/Support/WS_FTP/guide/wsftpug7/08sync.html
Absolute Ftp
http://www.vandyke.com/products/absoluteftp/quick_synchronize.html
These assume you have such a product - if not, try one of the
following...
A low cost synchronizer program such as...
Site Publisher (about $30)
http://www.sitepublisher.net/
Sites with several shareware or freeware programs...
Simply the Best Shareware
http://www.simplythebest.net/ftp.html
Google directory
http://directory.google.com/Top/Computers/Software/Shareware/Windows/Internet/FTP/
On Macintosh...
isync
http://www.bluedays.com/isynch/index.shtml
or if you have OS X, use one of the Unix / Linux suggestions.
On Unix / Linux (and perhaps other systems)...
Rsync
http://rsync.samba.org/
(I realize a comment already mentioned this, but here's the "official
source" of that product). It is released under the GNU General Public
License, so is free provided you comply with the license requirements.
Prebuilt binaries are available for AIX, BSDi, HP/UX, Irix, SCO, SVR4,
Solaris, Sunos, debian, Red Hat, and Linux PPC.
ftpsync
http://www.linux-france.org/prj/ftpsync/
You mentioned a "complex" Perl script - if this one was it, I'm sorry.
This is in Perl - about 11k in size. I didn't run it, but the code
looks reasonable.
Rdist
I use rdist a lot at work to synchronize two servers using rcp or
scp. You can do the same for your ftp server - though getting an ftp
client to move a file for you using rdist will require a small script.
You should have rdist on your Unix or Linux distribution - if not, let
me know and I'll find an on line source.
Scheduling jobs on Unix
If you were not aware of it, cron is a good utility - usually
enabled on Unix or Linux systems. The default is usually daily,
weekly, and monthly tasks run on a regular basis (cat /etc/crontab,
cat /etc/daily). You can set up a regular ftp update using cron (man 8
cron, man 5 crontab). There is also the "at" command, but this is
sometimes NOT enabled. I can walk you through that step if necessary.
I hope this answer provides a solution that is acceptable to you.
--Maniac |