How can FTPClient delete a directory?

后端 未结 5 746
北荒
北荒 2020-12-06 15:20

I want to delete a folder in FTP.

Can FTPClient object delete it?

5条回答
  •  既然无缘
    2020-12-06 16:07

    Important Point

    As mentioned above..

    you could not delete folders while they are not empty. You must traverse them recursively to delete content before.

提交回复
热议问题