SFTPClient.Stream (SFTP Client v1.4.6) View Source

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

Link to this section Summary

Functions

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

Link to this section Types

Specs

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

Link to this section Functions

Specs

readable_stream(t()) :: Enumerable.t()

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