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

Link to this section Summary

Functions

Reads the directory contents from the server, and returns the data as String.

Reads a file from the server, and returns the data as String. Raises when the operation fails.

Link to this section Functions

Link to this function

read_dir(handle) View Source
read_dir(SFTPClient.Handle.t()) :: {:ok, [any()]} | {:error, any()}

Reads the directory contents from the server, and returns the data as String.

Reads a file from the server, and returns the data as String. Raises when the operation fails.