View Source SFTPClient.Operations.StreamFile (SFTP Client v2.1.0)
A module that provides functions to create streams from and to files on an SFTP server.
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 using the specified chunk size.
Creates a stream that allows reading from and writing to the server.
Creates a stream that allows reading from and writing to the server using the specified chunk size.
Functions
@spec stream_file(SFTPClient.Conn.t(), Path.t()) :: {:ok, SFTPClient.Stream.t()} | {:error, SFTPClient.error()}
Creates a stream that allows reading from and writing to the server.
@spec stream_file(SFTPClient.Conn.t(), Path.t(), non_neg_integer()) :: {:ok, SFTPClient.Stream.t()} | {:error, SFTPClient.error()}
Creates a stream that allows reading from and writing to the server using the specified chunk size.
@spec stream_file!(SFTPClient.Conn.t(), Path.t()) :: SFTPClient.Stream.t()
Creates a stream that allows reading from and writing to the server.
@spec stream_file!(SFTPClient.Conn.t(), Path.t(), non_neg_integer()) :: SFTPClient.Stream.t()
Creates a stream that allows reading from and writing to the server using the specified chunk size.