SFTP Client v1.4.1 SFTPClient.Stream 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

Link to this type

t()

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

Link to this section Functions

Link to this function

readable_stream(stream)

View Source
readable_stream(t()) :: Enumerable.t()

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