How to Delete a Remote File or Directory in FileZilla Pro CLI

Delete a remote file or directory

To delete a remote file or a directory use the del (or rm) command:

    del [options] <remote path>

remote path can refer to a file or directory using either an absolute or a relative path.

Options:

    --recursive, -r: recursively delete files and directories.

Delete multiple remote files

To delete multiple remote files use the mdel command

    mdel <remote files>

remote files is a regular expression to select which files are removed. See Regular Expressions for the regular expression syntax.

Delete a local file or directory

To delete a local file or a directory use the ldel (or lrm) command:

    ldel [options] <local path>;

local path can refer to a file or directory using either an absolute or a relative path.

Options:

    --recursive, -r: recursively delete files and directories.

Delete multiple local files

To delete multiple local files use the lmdel command:

    lmdel <local files>

local files is a regular expression to select which files are removed. See Regular Expressions for the regular expression syntax.

Tags: ,