#!/bin/sh # generic automatic ftp script # ftp'ing manually is bad news. for a start, that gap between deleting # and replacing a file can cost you a visitor.. 404. secondly, it takes # too bloody long. this "just happens", and is 100%. can't go back to # manual site updating now. # drop this somewhere in your PATH (like /usr/local/bin), rename to # something cute, and chmod +x # © corz.org 2004-> - edit freely.. # NOTE: This is DEPRECATED! Take a look here.. # # http://corz.org/machine/source/php/website-sync-mac.php # http://corz.org/machine/source/php/website-sync-linux.php # # ;o) # HOST="ftp.myhost.org" USER="MyUsername" PASSWD="MyPassword" ftp -n $HOST <