lazzard / php-ftp-client

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

FtpClient::isDir is working wrong on some FTP Servers #10

Closed tekinnnnn closed 3 years ago

tekinnnnn commented 3 years ago

hello, me and my old clients who use oldest ftp servers.

I have a test file named test.txt in my ftp folder.

resim

When i try to download my test file to local folder i'm getting this error : resim

But if i change to FtpClient::isDir function from : resim to : resim

everything again works back like i expected.

My FTP server seems doesn't supports to give size of items.

resim