Skip to content
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

"Upload with temporary filename > Rename existing" always fails with Error: "No such file" #13367

Closed
webhype opened this issue May 8, 2022 · 0 comments · Fixed by #13398
Closed
Assignees
Labels
bug sftp SFTP Protocol Implementation
Milestone

Comments

@webhype
Copy link

webhype commented May 8, 2022

Describe the bug
"Upload with temporary filename > Rename existing" always fails with Error: "No such file"

To Reproduce
Steps to reproduce the behavior:

  1. Go to Preferences > Transfers > Upload with temporary filename > Rename existing
  2. Drag and drop a random file whose name already exists on the server, so as to initiate a transfer to the SFTP server.
  3. Note that the file on the server is not busy, in use, or otherwise "locked".
  4. An error dialog appears Error: "No such file"

Expected behavior
I expected the file to be renamed before the upload, so as the existing file be preserved, and the new file take its place.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Mac OS 10.14.6 Mojave
  • Version 8.3.3 (37544)

Log Files
cyberduck.log.zip

Notes
1. It is very possible to rename the file via CyberDuck "manually", and then to initiate the upload, thus removing the name collision. However, I expected the process of renaming-then-uploading to be fully automatic.
2. Clicking "Try Again" when prompted by the error dialog seems to do nothing. Expected would be that it try again and fail again, and so on. It is not clear to me why it fails silently after clicking "Try Again".

@dkocher dkocher self-assigned this May 16, 2022
@dkocher dkocher added bug sftp SFTP Protocol Implementation labels May 16, 2022
@dkocher dkocher added this to the 8.4.0 milestone May 16, 2022
dkocher added a commit that referenced this issue May 16, 2022
…resume filters. Remember status of target file for later rename.
dkocher added a commit that referenced this issue May 20, 2022
dkocher added a commit that referenced this issue May 23, 2022
Fix #13367. Disable conflicting temporary file upload for rename and …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug sftp SFTP Protocol Implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants