RemoveDirectory Method
Remove the specified directory.
Syntax
int RemoveDirectory(char* lpszDirName);
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.