Deployment\SshServer::readFile PHP Method

readFile() public method

Reads remote file from FTP server.
public readFile ( $remote, $local ) : void
return void
    public function readFile($remote, $local)
    {
        $this->protect('copy', ["ssh2.sftp://{$this->sftp}{$remote}", $local]);
    }