rmdir command

Removes one or more remote directories.



rmdir <directory> [ <directory2> ... ]


If remote recycle bin is configured, moves directory to the bin instead of deleting it.

In general the command can remove empty directories only. To remove non-empty directories recursively, use rm.

XML log element: rm


rmdir public_html

Converting to .NET Assembly

When converting script to .NET Assembly, map rmdir command to Session.RemoveFiles method.

Parameters mapping: Command parameter directory maps to method parameter path. When multiple directory parameters are used, you need to call Session.RemoveFiles multiple times. You have to convert relative paths to absolute paths.


Last modified: by martin