next up previous
Next: Terminating the FTP session Up: Simple FTP Client Sessions Previous: Additional File Transfer Settings

Renaming, Deleting Files and Directories

Files can be renamed on a server where you have appropriate permission by the following command:

rename
from to -- Rename the file from on the remote machine to have the name to.

You may delete files and directories on a server where you have appropriate permission.

The following commands may be used:

delete
remote-file -- Delete the file remote-file on the remote machine.
mdelete
remote-files -- Delete the remote-files on the remote machine. Wild Cards may be used.

rmdir
directory-name -- Delete a directory on the remote machine.

To delete files and directories on the local side use ! with the above delete commands.



Dave Marshall
9/28/2001