The book, "Wicked Cool Shell Scripts" has FTP based web site sync scripts.
http://www.intuitive.com/wicked/scripts/AllFiles.tgz
Ed
Ed Howland wrote:
Isn't there an ftp virtual filesystem? Then you could rsync over that.
HTTPFS (from Plan9) http://okmij.org/ftp/HTTP-VFS.html GnomeVFS http://developer.gnome.org/doc/API/gnome-vfs/
MC allows you do somthing like this:http://www.linuxmafia.com/faq/Security/fish-protocol.html
(limited googling.)
Ed
Robert Citek wrote:
Anyone have any suggestions on how to sync a local directory (and subdirectories) containing static webpages with a remote site via FTP?
I'm helping a local group with their website. If I had a choice, I'd be using rsync over ssh. But the remote site is ftp-only. ncftpget will allow me to update any newer pages that have been added to the site, but how can I upload just new pages? My initial thought would be to ncftpget everything down to my local machine, then rsync locally, trash everything on the remote site, and then ncftpput the all the pages including updates back to the remote site.
Can rsync work over ftp? Any other ideas?
Regards, - Robert http://www.cwelug.org/downloads Help others get OpenSource. Distribute FLOSS for Windows, Linux, *BSD, and MacOS X with BitTorrent
_______________________________________________ CWE-LUG mailing list http://www.cwelug.org/ [email protected] http://lists.firepipe.net/listinfo/cwe-lug
-- Ed Howland WDT Solutions, LLC. [EMAIL PROTECTED] (314) 962-0766
_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/ [email protected]
http://lists.firepipe.net/listinfo/cwe-lug
