views:

93

answers:

1

We have multiple ftp accounts for each website and recently have set up the folder with all the websites inside of a SVN Repository. What would be the best approach to set it up so it would upload on commit to the respective ftp account based on it's folder?

A: 

You may be able to write a script (shell, perl, or whatever) that ftp's files and/or directories from the svn repository to one or more ftp sites. This script could then be run from a svn hook

I believe there is a "post-commit" hook which you might be able to take advantage of.

Dave Paroulek