rmdir

Removes one or more remote directories.

Syntax

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

Remarks

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

Advertisements:

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

XML log element: rm

Example

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.

 
  scriptcommand_rmdir.txt · Last modified: by martin
 

Search Documentation

This page

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

Associations

Site design by Black Gate