Removes a directory on the remote FSP host.
procedure RemoveDir( const ADirName: string );
RemoveDir is a procedure used to delete or remove the directory specified in ADirName on the remote FSP host. RemoveDir calls the SendCmd method using the FSP CC_DEL_DIR command and the value specified in ADirName to peform the request.
Calling RemoveDir can result in an EIdFSPProtException exception being raised if the specified directory does not exist on the remote FSP host, or when the user does not have permissions to remove the directory.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.