Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Automatically upload published-to-folder iWeb sites' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Automatically upload published-to-folder iWeb sites
Authored by: jakecigar on Aug 21, '06 01:19:48PM

Great suggestion... took a bit of programming!

I simply use the rsync command, it works for multiple sites, partial sites, only doing the changed files, and it can use SFTP for secure transfers, and it requires no additional software.

I bet that's what our friends at apple use for .mac



[ Reply to This | # ]
10.4: Automatically upload published-to-folder iWeb sites
Authored by: pglock on Sep 25, '06 04:12:08AM

An update: I've played around a bit since writing this hint. I tried the rsync suggestions, especially as it is one of my favourite command line tools for automation of backup (via launchd using lingon ) but:

  • I don't have the option of installing certs on a number of the hosted servers that my family and friends use for their public websites
  • As I'm back to userid/password for authentication, it means keeping track of user credentials in one more place (rather than just keeping the Transmit 'favourite' up to date)
  • I worked out a more efficient way of triggering the folder action (read on for more...)
  • I've modified the process so that iWeb places a dummy file in the root of the site folder to be mirrored, then this file is deleted after the Transmit process completes. That way it's no longer necessary to delete the entire contents of the site folder and recreate each time iWeb publishes.

    There's a full write up on my personal website

    ---
    Too lazy to think of an original signoff...

    [ Reply to This | # ]