STEPS TO REPRODUCE 1. Open Dolphin 2. Connect to SFTP server 3. Edit the file from Dolphin 4. Open it from the host and you will see that it's corrupt OBSERVED RESULT Can't open the file anymore it's corrupt. EXPECTED RESULT Edited version of the file SOFTWARE/OS VERSIONS Arch Linux/Hyprland ADDITIONAL INFORMATION I'm using E-Trail FiveM hosting. When I open and edit the file with Dolphin file is corrupted. Doing the same thing in Nautilus or some other SFTP client works just fine.
I am experiencing similar issues, when i copy an executable file to the server it gets corrupted, causing segfault when i try to run it. Works find with other sftp clients. I am also on Arch (EndeavourOS).
A possibly relevant merge request was started @ https://invent.kde.org/network/kio-extras/-/merge_requests/369
Git commit 0b589bd8744457dd5c427cc6b1626221b5e8d250 by Harald Sitter, on behalf of Ser Freeman. Committed on 28/08/2024 at 16:46. Pushed by sitter into branch 'master'. sftp: account for maximum request length when using sftp_aio As stated in the libssh documentation, AIO functions cap the allowed length per request. Account for that by breaking up into multiple requests when necessary. M +47 -12 sftp/kio_sftp.cpp https://invent.kde.org/network/kio-extras/-/commit/0b589bd8744457dd5c427cc6b1626221b5e8d250
Please backport to 24.08, this is a severe data loss issue
Git commit f0fca6e20d1e71427caff9fc7ab3e8d7041d71ec by Antonio Rojas. Committed on 09/09/2024 at 14:14. Pushed by arojas into branch 'release/24.08'. sftp: account for maximum request length when using sftp_aio As stated in the libssh documentation, AIO functions cap the allowed length per request. Account for that by breaking up into multiple requests when necessary. (cherry picked from commit 0b589bd8744457dd5c427cc6b1626221b5e8d250) Co-authored-by: Ser Freeman <serfreeman1337@gmail.com> M +47 -12 sftp/kio_sftp.cpp https://invent.kde.org/network/kio-extras/-/commit/f0fca6e20d1e71427caff9fc7ab3e8d7041d71ec