View Source SFTPClient.Operations.DeleteFile (SFTP Client v2.1.0)
A module containing operations to delete a file from the remote server.
Summary
Functions
Deletes the file specified by path.
Deletes the file specified by path. Raises when the operation fails.
Functions
@spec delete_file(SFTPClient.Conn.t(), Path.t()) :: :ok | {:error, SFTPClient.error()}
Deletes the file specified by path.
@spec delete_file!(SFTPClient.Conn.t(), Path.t()) :: :ok | no_return()
Deletes the file specified by path. Raises when the operation fails.