Closed gmorgas closed 2 months ago
Error Message: Unable to list contents for '', shallow listing\n\nReason: Expected NET_SFTP_HANDLE or NET_SFTP_STATUS. Got packet type:
Since upgrading from 3.23.1 to 3.25.0 related to "Add ability to proactively close FTP and SFTP connections.", without using ping to check the connection, they work without a problem. The problematic part in ping method is close_channel.
Solution Revert this change and use previous check.
Next minor version will revert the behaviour, making the ping usage an opt-in feature instead.
Bug Report
Summary
Error Message: Unable to list contents for '', shallow listing\n\nReason: Expected NET_SFTP_HANDLE or NET_SFTP_STATUS. Got packet type:
Since upgrading from 3.23.1 to 3.25.0 related to "Add ability to proactively close FTP and SFTP connections.", without using ping to check the connection, they work without a problem. The problematic part in ping method is close_channel.
Solution Revert this change and use previous check.