New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interoperability with WinSSHD. "Unknown File not found" error. #7522
Comments
Log uploaded. In the interest of a clean log, here is the process I used: I renamed my original log, then opened Cyberduck 4.3, successfully uploaded a file, upgraded to 4.4, then tried to upload a new file and failed. I will also upload the original log which has many more examples of failures, but also some successes due to downgrading to to 4.3 for testing. |
Thanks for providing the logs. Would it be possible for you to enable debug logging which will reveal the cause of this exception. |
Thanks for the debug log. |
The issue is that we our check if the remote file exists gives a false positive. We are requeseting the canonical path from the SFTP server for a path which is expected to fail if the file does not exist but it succeeds instead. This is an interoperability issue with WinSSHD then. |
In more detail we expect a |
From SSH File Transfer Protocol
As we fail to provide the optional SSH_FXP_REALPATH_NO_CHECK, the default is not fail which indicates WinSSHD works according to the specs but OpenSSH (against we test) is not. |
Since updating to version 4.4, I have not been able to upload a file to my SFTP server. Downloads work properly.
Whenever I attempt to upload a file, I get an Error box that just says "Unknown File not found." It provides a try again button, but this repeats the failure. Looking at the SFTP server, I just see the successful connection, but no attempted transfer. This happens whether I upload by clicking the Upload button or by dragging and dropping the file onto the window.
The Log Drawer doesn't seem to have anything helpful, but here it is:
After the download fails, the Transfer window displays "Upload Complete 0 B of 0 B" and a green circle.
It appears that replacing an existing file works properly, but uploading a new file causes this problem.
I can provide other logs or diagnostic help if needed. The SFTP server is WinSSHD v 5.26. Uploads worked prior to the update to 4.4 and other SFTP clients are still uploading successfully.
After several retries, I was able to get one file to successfully upload, but I have not been able to reproduce this success.
Attachments
Debug-cyberduck.log
(247.0 KiB)ORIG-cyberduck.log
(73.1 KiB)cyberduck.log
(4.6 KiB)The text was updated successfully, but these errors were encountered: