@brief Create a directory.
@param sftp The sftp session handle.
@param directory The directory to create.
@param mode Specifies the permissions to use. It is modified by the process's umask in the usual way: The permissions of the created file are (mode & ~umask)
@return 0 on success, < 0 on error with ssh and sftp error set.
@see sftp_get_error()
See Implementation
@brief Create a directory.
@param sftp The sftp session handle.
@param directory The directory to create.
@param mode Specifies the permissions to use. It is modified by the process's umask in the usual way: The permissions of the created file are (mode & ~umask)
@return 0 on success, < 0 on error with ssh and sftp error set.
@see sftp_get_error()