Bug 352374

Summary: Copy a file from disk to webdav shouldn't duplicate the file on the disk
Product: [Frameworks and Libraries] frameworks-kio Reporter: Rainer Finke <rainer>
Component: WebDAVAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.103
Sentry Crash Report:

Description Rainer Finke 2015-09-07 09:25:33 UTC
Kio Version 5.13.0-3 in arch linux: When I copy a file from my disk (SSD) to webdav (owncloud) then before the file gets uploaded it will be duplicated temporarly first on the disk and only then it will be uploaded. If I upload a file with e.g. 8GB then my SSD needs to write as well 8GB before it will be uploaded. From my point of view this shouldn't be a write transaction on my SSD, I would expect only that the file will be read during upload.

Reproducible: Always

Steps to Reproduce:
1. Copy a file to webdav from main disk

Actual Results:  
All files will be duplicated temporarly on the same disk

Expected Results:  
Just read the file from the main disk and upload it directly. This will save a lot of write transactions on my SSD
Comment 1 Alberto Mattea 2023-02-01 00:18:28 UTC
Fixed with http://commits.kde.org/kio/74b1ec8b63c5e23d288e0d43d898ae2dcdcf43a0