FTP requires that you delete all of the files within a directory before deleting it. This includes the deletion of hidden files contained within a directory before you can delete the directory itself. For more information, click here for help viewing hidden files in WS_FTP, and here for CuteFTP.