View Source SFTPClient.Operations.UploadFile (SFTP Client v2.1.0)
A module that provides functions to upload files to an SFTP server.
Summary
Functions
Uploads a file from the file system to the server.
Uploads a file from the file system to the server. Raises when the operation fails.
Functions
@spec upload_file(SFTPClient.Conn.t(), Path.t(), Path.t()) :: {:ok, Path.t()} | {:error, SFTPClient.error()}
Uploads a file from the file system to the server.
@spec upload_file!(SFTPClient.Conn.t(), Path.t(), Path.t()) :: Path.t() | no_return()
Uploads a file from the file system to the server. Raises when the operation fails.