Error reported from libssh on empty directory
Posted: Fri May 22, 2020 10:24 pm
I am seeing the error message "Count of files sent by the server is zero, which is invalid, or libsftp bug" when listing an empty directory using libssh v0.8.3
I downloaded and installed WingFTPServer and created a simple installation, no special settings. I created two User accounts; one without any content in the HOME folder the other with a single folder. Then I connect to the server and list the contents of the base directory.
If there are files or directories in the HOME folder, then they are reported by libssh. However, if the HOME folder is empty then libssh indicates a processing error and sets the error message to the above.
Is there a server setting I can change to at least get "." returned from an empty directory?
I downloaded and installed WingFTPServer and created a simple installation, no special settings. I created two User accounts; one without any content in the HOME folder the other with a single folder. Then I connect to the server and list the contents of the base directory.
If there are files or directories in the HOME folder, then they are reported by libssh. However, if the HOME folder is empty then libssh indicates a processing error and sets the error message to the above.
Is there a server setting I can change to at least get "." returned from an empty directory?