- GETTING STARTED
- Server connection
- File Transfer
- Directory operations
- File operations
- Script output
Delete a remote directory.
- directory: remote directory to be deleted.
If the remote directory is not empty ScriptFTP will delete all files and subdirectories within that remote directory.
RMDIR will return "OK" as soon as the remote directory has been removed successfully.
If the operation fails it will return an error code. You may retrieve the return value and execute various operations depending on this value. See Error handling
# Connect to server
# Remove the remote directory foo
# Remove the remote directory temp in /www
# Close the connection