Background: there's a site which I need to edit. The only way to access files is FTP. But since I'm not the only person who will edit it (also I'd like to have ability to roll-back and bunch of other reasons), we need version control system.
Previously (on our own server, where we have root) we used to use SVN with post-commit hook, which updated files it site's directory (site used to be on the same Linux server).
Is it possible to make post-commit hook, that uploads updated files via FTP to the remoted server? Any way to detect 'just updated' files? Maybe ready solution?
ftp
instead ofcp
. I can't see any research job done