function getSFTPErrors() { return $this->sftp_errors; }
/** * {@inheritdoc} */ public function download($local, $remote) { $this->checkConnection(); if (!$this->sftp->get($remote, $local)) { throw new \RuntimeException(implode($this->sftp->getSFTPErrors(), "\n")); } }