[kio-extras] [Bug 418472] Duplicating files on remote connections results in the copy having ".part" in the name

Alexander Ewering bugzilla_noreply at kde.org
Fri Mar 20 19:28:23 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=418472

--- Comment #8 from Alexander Ewering <ae at seven.systems> ---
(In reply to Harald Sitter from comment #7)
> This looks suspiciously like a server-side problem that we can't do anything
> about. 
> If I give you a diff can you build kio-extras yourself to get some more
> debug output? This is either a problem with libssh or the server, but it's
> hard to say which without some more context on the error.
> 
> Is this still a problem if you disable the .part files? (run `kcmshell5
> netpref` and uncheck 'mark partial files')
> 
> in Comment #3 we see it successfully opening the file on the server and
> writing the first (and only) 8355 bytes. It'd then continue to write 0 bytes
> and that results in a zero byte write which would then conclude the upload.
> Except, instead of coming back with 0 bytes the second write raises an error
> which leaves you with the dangling .part file.
> We aren't doing anything crazy there, so I am rather thinking the server
> considers 0 byte writes a problem, which is stupid and wrong.

OK, turning off "Mark partial files" fixed it indeed.

However, I'm not sure you're not doing anything crazy ;) Why would you "write 0
bytes"? That doesn't make any sense to me. If I designed an FTP server, it
would indeed error on such a request!

The FTP server used here also isn't in any way "special" -- it's as mainstream
as it gets: One of the biggest German mass hosters (Hetzner KonsoleH)...

Thanks anyway for your time! (sorry I don't have a proper development
environment set up so I think building parts of KDE would be a major problem).

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the kfm-devel mailing list