#--------------------SVN-Settings-------------------- REPO="$1" REV="$2" EXTPATH="$3" # path btwn repo's name and /trunk REPONAME=`basename $REPO` # do not change! SVNHOME="/svn2ftp/repos" # where you want to save your local svn copy HOME="$SVNHOME/$REPONAME" # only change if you know what you're doing! BASEURL="http:///svn/$REPONAME" USER="username" PASSWORD="password" #----------------------------------------------------- # # #--------------------FTP-Settings-------------------- # FTP server settings; should be self-explanatory FTPHOST="ftp.server1.com" FTPUSER="username" FTPPASS="password" FTPPORT="20" # you can delete this line or change it to 21 if you use port 21 # directory to backup to. if it doesn't exist, file will be uploaded to # first logged-in directory FTPDIR="." #------------------Second Server--------------------- FTPHOST1="ftp.server2.com" FTPUSER1="username" FTPPASS1="password" # directory to backup to. if it doesn't exist, file will be uploaded to # first logged-in directory FTPDIR1="public_html" # change to your needs #----------------------------------------------------