Bug 468241 - copying/moving file from SMB to USB storage fails occasionally
Summary: copying/moving file from SMB to USB storage fails occasionally
Status: RESOLVED DUPLICATE of bug 325574
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.92.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-07 12:24 UTC by Nils
Modified: 2023-04-10 17:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nils 2023-04-07 12:24:15 UTC
SUMMARY
Can't copy or move files from a SMB to an USB storage device. Issue is not persistent but happens most of the time. Doesn't seem to make a difference whether it's an USB stick or a smart device, but I'm mostly trying to copy to smartphone or tablet so that's where I'm noticing it the most.


STEPS TO REPRODUCE (not always reproducible)
1. Navigate to SMB storage with dolphin ("smb://some_nas/some_folder/")
2. Select a file or folder and copy or cut it to the clipboard
3. Navigate to USB storage device ("mtp://some_device/disk/some_folder")
4. Paste file or folder from clipboard

OBSERVED RESULT
Status window: prepare copy/moving with bouncing progress bar
If you refresh dolphin during that time it shows empty directory
Error message: "Could not write file" (it seems to depend on the file size how long it takes until the error message appears)
Dolphin needs to be refreshed and it takes very long
Mostly file is created on USB device (and then always less than 50 bytes written)
Sometimes the connection is lost and sometimes it won't even recover until reconnecting physically

EXPECTED RESULT
Status window: copying/moving with advancing progress bar
File copied/moved to USB device (dolphin refreshes automatically)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 22.04.2 LTS
(available in About System)
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Copying the same files from SMB to local and then from local to USB always worked for me.
Never noticed any problems copying/moving files from USB device to SMB or from SMB to SMB.
Comment 1 Nate Graham 2023-04-10 17:39:02 UTC

*** This bug has been marked as a duplicate of bug 325574 ***