View Source SFTPClient.Stream (SFTP Client v2.0.1)

A stream pointing to a file on an SFTP server. Implements the Enumerable and Collectable protocols.

Summary

Functions

Gets a stream that reads a file from the remote server in chunks.

Types

@type t() :: %SFTPClient.Stream{
  chunk_size: non_neg_integer(),
  conn: SFTPClient.Conn.t(),
  path: Path.t()
}

Functions

@spec readable_stream(t()) :: Enumerable.t()

Gets a stream that reads a file from the remote server in chunks.