lazzard / php-ftp-client

:package: Provides helper classes and methods to manage FTP files in an OOP way.
MIT License
91 stars 19 forks source link

removeDir() does not work on empty folders #21

Closed ceab254 closed 3 years ago

ceab254 commented 3 years ago

Hey, when I want to delete an empty dir with $client->removeDir('test'); I get the following error:

[FtpClientException] - Unable to get files list for [test] directory

When I use $client->listDirDetails('test') on an empty folder I also get the same error.

Thanks for the package

AmraniCh commented 3 years ago

Hey, thanks for opening this issue.

The issue was fixed in PR #22 and a new version will be released soon! Thank you.