RemoveDirectory Method
Remove the specified directory.
Syntax
procedure RemoveDirectory(DirName: String);Remarks
This method removes the directory specified by the DirName parameter. DirName may be either an absolute path, or a path relative to RemotePath.
Note: The folder and all of its contents will be deleted when calling this method.