RMDIR (Remove Directory)

 

The RMDIR i5/OS® 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.
Related reference
File Transfer Protocol client syntax conventions