SFTP Client v1.4.0 SFTPClient.Operations.MakeDir View Source
A module that provides functions to create directories on an SFTP server.
Link to this section Summary
Functions
Creates a directory specified by path. The path must be a full path to a new directory. The directory can only be created in an existing directory.
Creates a directory specified by path. The path must be a full path to a new directory. The directory can only be created in an existing directory. Raises when the operation fails.
Link to this section Functions
Link to this function
make_dir(conn, path)
View Source
make_dir(conn, path)
View Source
make_dir(SFTPClient.Conn.t(), Path.t()) :: :ok | {:error, SFTPClient.error()}
make_dir(SFTPClient.Conn.t(), Path.t()) :: :ok | {:error, SFTPClient.error()}
Creates a directory specified by path. The path must be a full path to a new directory. The directory can only be created in an existing directory.
Link to this function
make_dir!(conn, path)
View Source
make_dir!(conn, path)
View Source
make_dir!(SFTPClient.Conn.t(), Path.t()) :: :ok | no_return()
make_dir!(SFTPClient.Conn.t(), Path.t()) :: :ok | no_return()
Creates a directory specified by path. The path must be a full path to a new directory. The directory can only be created in an existing directory. Raises when the operation fails.