You can delete files on the remote host from FTP as follows:
To delete a file in a different directory on a UNIX-type system,
include the directory name with the remotefile
specified as you normally would on the remote UNIX system as follows:
ftp> DELETE directoryname/remotefile |
Delete Multiple Files |
 |
You can delete multiple files on the remote host using the
MDELETE command.
With interactive prompting enabled, you are prompted whether
or not to delete each file in the fileset you have specified. For
example:
ftp> MDELETE c* mdelete cat1? y 200 DELE command okay. mdelete cat2? y 200 DELE command okay. mdelete cat3? 200 DELE command okay. mdelete cata4? n ftp> |