download_from_sftp#

streaming.base.storage.download_from_sftp(remote, local)[source]#

Download a file from remote SFTP server to local filepath.

Authentication must be provided via username/password in the remote URI, or a valid SSH config, or a default key discoverable in ~/.ssh/.

Parameters
  • remote (str) – Remote path (SFTP).

  • local (str) – Local path (local filesystem).