Summary: | Canceling a Copy leaves incomplete file... | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | BryanFRitt <BryanFRitt> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | CC: | BryanFRitt, kollix, nate |
Priority: | NOR | ||
Version: | 4.7 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
BryanFRitt
2011-12-29 04:04:21 UTC
A count like ~001, ~002, ~003, or a date-time stamp `date +"%F_%H:%M:%S.%N"`, etc ... could be added to the temp filename to minimize collision effects with existing filenames of incomplete copies. (for in situations when asking will more copy this time around than last?, like when dealing with a bad hard drive?). Although this could just leave to having multiple incomplete copies that aren't of much use. User choice in config, or just do it? I'd say this is neither a major severity nor is it a bug. I'd say this shall be marked as a wish. What you see is normal behavior even when you "cp" a file on the commandline. Or think about copying a file to an USB stick but you forget to unmount the stick before you pull it. In the latter case there is nothing KDE could do as the OS will flush its internal buffers at some point in time or when you unmount at the latest Note however that konqueror names partly downloaded files e.g. from http or ftp like FileName.part until it completed the download and then renames it to FileName. This could be done also for local filesystems (however you still would have the problem with the unflushed buffers. Even the sync(2) manpage says: "According to the standard specification (e.g., POSIX.1-2001), sync() schedules the writes, but may return before the actual writing is done. However, since version 1.3.20 Linux does actually wait. (This still does not guarantee data integrity: modern disks have large caches.)" There could at least be a popup message/log file saying something like, file transfer of __A.From__ to __A.Dest___ didn't complete, there may be an incomplete file at what was __A.Dest__. *** This bug has been marked as a duplicate of bug 125102 *** |