SFTP Client v1.0.0 SFTPClient.Operations.StreamFile View Source

Link to this section Summary

Functions

Creates a stream that allows reading from and writing to the server.

Creates a stream that allows reading from and writing to the server. May raise lazily as soon as the Stream evaluates.

Link to this section Functions

Link to this function

stream_file(conn, path) View Source
stream_file(SFTPClient.Conn.t(), String.t()) ::
  {:ok, SFTPClient.Stream.t()} | {:error, any()}

Creates a stream that allows reading from and writing to the server.

Link to this function

stream_file(conn, path, chunk_size) View Source
stream_file(SFTPClient.Conn.t(), String.t(), non_neg_integer()) ::
  {:ok, SFTPClient.Stream.t()} | {:error, any()}

Creates a stream that allows reading from and writing to the server. May raise lazily as soon as the Stream evaluates.

Link to this function

stream_file!(conn, path, chunk_size) View Source