SFTP Client v1.3.5 SFTPClient.Operations.WriteFileChunk View Source
A module that provides functions to write chunks of data to a file on an SFTP server.
Link to this section Summary
Functions
Writes data to the file referenced by handle. The file is to be opened with write or append flag.
Writes data to the file referenced by handle. The file is to be opened with write or append flag. Raises when the operation fails.
Link to this section Functions
Link to this function
write_file_chunk(handle, data)
View Source
write_file_chunk(handle, data)
View Source
write_file_chunk(SFTPClient.Handle.t(), binary()) ::
:ok | {:error, SFTPClient.error()}
write_file_chunk(SFTPClient.Handle.t(), binary()) :: :ok | {:error, SFTPClient.error()}
Writes data to the file referenced by handle. The file is to be opened with write or append flag.
Link to this function
write_file_chunk!(handle, data)
View Source
write_file_chunk!(handle, data)
View Source
write_file_chunk!(SFTPClient.Handle.t(), binary()) :: :ok | no_return()
write_file_chunk!(SFTPClient.Handle.t(), binary()) :: :ok | no_return()
Writes data to the file referenced by handle. The file is to be opened with write or append flag. Raises when the operation fails.