lib/base/BaseDeploy.class.php
protected function updateFiles($remote_host, $remote_dir, $target_dir)
	{
		$this->log('updateFiles', LOG_DEBUG);

		$this->rsyncExec($this->rsync_path .' --rsh="ssh -p '. $this->remote_port .'" -azcO --force --delete --progress '. $this->prepareExcludes() .' '. $this->prepareLinkDest($remote_dir) .' ./ '. $this->remote_user .'@'. $remote_host .':'. $remote_dir .'/'. $target_dir);

		$this->fixDatadirSymlinks($remote_host, $remote_dir, $target_dir);

		$this->renameTargetFiles($remote_host, $remote_dir);
	}
protected function updateFiles($remote_host, $remote_dir, $target_dir)
	{
		$this->log('updateFiles', LOG_DEBUG);

		$this->rsyncExec($this->rsync_path .' --rsh="ssh -p '. $this->remote_port .'" -azcO --force --delete --progress '. $this->prepareExcludes() .' '. $this->prepareLinkDest($remote_dir) .' ./ '. $this->remote_user .'@'. $remote_host .':'. $remote_dir .'/'. $target_dir);

		$this->fixDatadirSymlinks($remote_host, $remote_dir, $target_dir);

		$this->renameTargetFiles($remote_host, $remote_dir);
	}
protected function updateFiles ( $ remote_host , $ remote_dir , $ target_dir ) { $ this -> log ( 'updateFiles' , LOG_DEBUG ) ; $ this -> rsyncExec ( $ this -> rsync_path . ' --rsh="ssh -p ' . $ this -> remote_port . '" -azcO --force --delete --progress ' . $ this -> prepareExcludes ( ) . ' ' . $ this -> prepareLinkDest ( $ remote_dir ) . ' ./ ' . $ this -> remote_user . '@' . $ remote_host . ':' . $ remote_dir . '/' . $ target_dir ) ; $ this -> fixDatadirSymlinks ( $ remote_host , $ remote_dir , $ target_dir ) ; $ this -> renameTargetFiles ( $ remote_host , $ remote_dir ) ; }
Uploads files to the new directory on the remote server

@param string $remote_host
@param string $remote_dir
@param string $target_dir
Uploads files to the new directory on the remote server