RMDIR (Remove Directory)

The RMDIR IBM® i FTP client subcommand removes a directory on the remote system.

FTP client subcommand

RMdir pathname

pathname
The name of a file directory, library, or other system-dependent file-group designator on the remote system. For hierarchical file system (HFS) directories, you can only delete empty directories. The FTP server deletes Libraries unconditionally.