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

Albert Vaca Cintora <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/netw
                   |                            |ork/kdeconnect-android/-/co
                   |                            |mmit/4f9702abc6c45924983b2f
                   |                            |6aa2449f5d15f96fe6

--- Comment #5 from Albert Vaca Cintora <[email protected]> ---
Git commit 4f9702abc6c45924983b2f6aa2449f5d15f96fe6 by Albert Vaca Cintora, on
behalf of Masum Ali.
Committed on 18/10/2026 at 09:23.
Pushed by albertvaka into branch 'master'.

share: Delete incomplete or empty file if receive operation fails

When receiving a file, getDocumentFileFor() creates the destination file
on disk immediately. If an exception occurs during the transfer (e.g.
network timeout, stream failure, or connection drop), execution jumps
directly to catch (e: Exception), leaving behind an empty 0-byte or
corrupted file.

Track whether each file was successfully received, and clean up any
incomplete fileDocument if an exception occurs during the transfer.

M  +11   -2   
src/main/java/org/kde/kdeconnect/plugins/share/CompositeReceiveFileJob.kt

https://invent.kde.org/network/kdeconnect-android/-/commit/4f9702abc6c45924983b2f6aa2449f5d15f96fe6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to