STEPS TO REPRODUCE 1) In Dolphin, create an sftp connection (Set "/" as folder) 2) Drag and Drop (copy) a local file to a sub-folder on that connection OBSERVED RESULT 1) Error "Could not write to file sftp://user@server:port/folder/filename.ext 2) When "Retry" is clicked, warning "This action will overwrite the destination." appears, hinting at the fact that the file HAS actually been successfully transferred. 3) When "Overwrite" is clicked, the loop repeats at 1). Note that the file never gets listed by Dolphin, but SSHing to the machine and doing ls actually reveals that the file has been transferred. Another relevant piece of information may be that the first folder level is a symlink. So, the FTP connection starts in the user's home directory (~), then there's a symlink "public_html" that points to a different directory outside the user's home directory, and in that directory there's another sub-directory where the file is to be copied to. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE neon 5.18 (available in About System) KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.70.0 Qt Version: 5.14.2 ADDITIONAL INFORMATION
Additional info: - When hitting "Cancel" instead of "Retry", the copied file actually appears in Dolphin's directory listing. - The "Mark partially uploaded files" setting in System Settings makes no difference. - This smells suspiciously like a side-effect of the recent fix to my previously reported bug about a very similar problem.
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/Debugging_IOSlaves/Debugging_kio_sftp#Reporting_Bugs
Created attachment 128643 [details] Debug output from Dolphin I've marked the points in time when I hit "Retry", "Overwrite" and "Cancel".
The server is the same as in my last report (ProFTPd) and the error seems again related to zero byte writes.
And that's with kio-extras 20.04.1?
(In reply to Harald Sitter from comment #5) > And that's with kio-extras 20.04.1? Hi, sorry, was still on 20.04. Just updated to 20.04.1 and problem is fixed! Thanks!