After creating the directory by using the mkdir command, you can run the dir or ls command to view the information. The mkdir command returns error, if the file or directory with the same name already exists.
To use the mkdir command, you must be an authorized user with a permission on the SFTP server.