NAME
FtpCleanRemoteDirectory — Clean remote directory of contents, but leave directory.
ERRORS
Error Conditions
ConditionError CodeError Message
Attempt to switch into the given remote directory failed. N/A FTP: Could not change into remote directory $RemoteDirectory. Quitting.
Attempt to remove a subdirectory failed. N/A FTP: Could not delete remote directory $Element.
Attempt to go up to parent directory failed. N/A FTP: Could not step back out of remote directory $RemoteDirectory. Quitting.
Attempt to delete remote file failed. N/A FTP: Could not delete remote file $Element
For the main part of the command documentation, see here.