you'll need to synchronize the files somehow. an obvious option would be to use nfs or 9p.
You can also check out this:
// Remote servers. I'm not even sure if this code works anymore. It might. Haven't tried it in a while.
// $config['remote']['static'] = array(
// 'host' => 'static.example.org',
// 'auth' => array(
// 'method' => 'plain',
// 'username' => 'username',
// 'password' => 'password!123'
// 'type' => 'scp'
This may or may not work and even if it worked, it supports only scp and sftp (and explicitly NOT ftp; no, ftp is not sftp and no, they are not even a little bit similar).Post too long. Click here to view the full text.