- GETTING STARTED
- Server connection
- File Transfer
- Directory operations
- File operations
- Script output
Delete remote files.
file: remote file to be deleted. Wildcard expressions and paths are allowed.
In order to delete an entire remote directory tree use RMDIR
If this command has been executed successfully it will return "OK" . If it encounters an error it will return an error code.
# Connect to ftp.myserver.com
# Delete the remote file notes.html
# Delete the remote file lenore.sav
# under the directory foo
# Delete every .sav file
# under the current remote directory
# Change current remote directory to
# Delete every html file under
# Close the connection