# Fred's site is uploaded to the FTP server 'my.server.com'
# and held in the directory 'public_html', which is in the
# login directory. The site is stored locally in the 
# directory /home/fred/html.

site mysite
  server my.server.com
  url http://www.server.com/fred
  username fred
  password juniper
  local /home/fred/html/
  remote ~/public_html/

# You can put more site definitions below.
# Make the name of the site (i.e. 'mysite' above) easily
# memorable, since you refer to sites by these names on
# the command line, e.g.:
#    sitecopy -u mysite
# to upload the recent changes to the above site.

# Here, Freda's site is uploaded to the FTP server 
# 'elsewhere.com', where it is held in the (absolute) 
# directory /www/freda/. The local site is stored in
# /home/freda/sites/elsewhere/
 
site anothersite
  server elsewhere.com
  username freda
  password blahblahblah
  local /home/freda/sites/elsewhere/
  remote /www/freda/
  # Freda wants files with a .bak extension or a 
  # trailing ~ to be ignored:
  exclude *.bak
  exclude *~

# Enough examples yet?
# Here's one for WebDAV:

site supersite
  server dav.wow.com
  protocol http # magic!
  username pow
  password zap 
  local /home/joe/www/super/
  remote /

# That's enough.
