Bug 440469 - kdeconnect fails transferring files over 2G GiB (Android to Windows)
Summary: kdeconnect fails transferring files over 2G GiB (Android to Windows)
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Other All
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-01 01:05 UTC by ltek.kde
Modified: 2023-01-09 13:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
File smaller than 2 GiB working (23.00 KB, image/png)
2021-08-01 01:05 UTC, ltek.kde
Details
File larger than 2 GiB not working (20.16 KB, image/png)
2021-08-01 01:06 UTC, ltek.kde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ltek.kde 2021-08-01 01:05:45 UTC
Created attachment 140429 [details]
File smaller than 2 GiB working

SUMMARY

kdeconnect fails transferring files over 2G GiB from Android to Windows 10.


STEPS TO REPRODUCE
1. Create a file on the Android device which is at least 2Gib (not GB) large
2. Use the send file feature to send it to a Windows 10 pc.
3. Look at the destination folder and wait for the file transfer to complete



OBSERVED RESULT

After the transfer completes kdeconnect reports a success on the file transfer but the file itself is not present at the destination. During the file transfer the .part file is always present.
After the transfer finished the .part file is deleted but the final file is not present at the destination.

Also during the whole transfer the kdeconnect file transfer windows on Windows does not report the current progress when the file size is over 2 GiB. The file size and the current amount of MiB transferred is not shown and the loading bar is only showing that the application is working but not the current progress.

Android also reports a success on the file transfer.

This problem / bug only occurs when the file size is larger than 2 GiB. Transferring a file with 2047 MiB works without any problems, but a file with 2048 MiB fails.

EXPECTED RESULT

Files larger than 2 GiB can be transferred from android to windows 10.


SOFTWARE/OS VERSIONS
Windows: 21H1 Build 19043.1083
Android: 8.0.0

kdeconnect on windows: 21.04.3
kdeconnect on android: 1.17.0

ADDITIONAL INFORMATION
Comment 1 ltek.kde 2021-08-01 01:06:18 UTC
Created attachment 140430 [details]
File larger than 2 GiB not working
Comment 2 Milkii B 2023-01-09 13:51:39 UTC
This is happening for me on Linux. Trying to send a multi GB audio file fails. The .part file gets created but just disappears at the end.. If I copy that whilst the transfer is in progress, there is wav data. A much smaller audio file does get transfered, as well as one that's around 1.2GB. I'm on Arch btw.

Log with line breaks when there are pauses:

12:25:29 milk@red:/usr/lib % killall kdeconnectd && QT_LOGGING_RULES="kdeconnect.core=true" /usr/lib/kdeconnectd 
kdeconnect.core: Daemon starting
kdeconnect.core: LanLinkProvider started
kdeconnect.core: Daemon started
kdeconnect.core: Broadcasting identity packet

kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "Galaxy Note9"
kdeconnect.core: Not loading plugin "kdeconnect_virtualmonitor" because device doesn't support it
kdeconnect.core: Not loading plugin "kdeconnect_remotecommands" because device doesn't support it
kdeconnect.core: Not loading plugin "kdeconnect_remotesystemvolume" because device doesn't support it
kdeconnect.core: Not loading plugin "kdeconnect_lockdevice" because device doesn't support it
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeconnect.core: FileTransferJob Downloading payload to QUrl("file:///var/tmp/kdeconnect_milk/d9bf5aa39140d31af896005cd720c3a8") size: 1335
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "Galaxy Note9"
kdeconnect.core: FileTransferJob Downloading payload to QUrl("file:///var/tmp/kdeconnect_milk/2655089536ca6d5378abc13cd937b647") size: 3239
kdeconnect.core: Finished transfer QUrl("file:///var/tmp/kdeconnect_milk/d9bf5aa39140d31af896005cd720c3a8")
kdeconnect.core: FileTransferJob Downloading payload to QUrl("file:///var/tmp/kdeconnect_milk/00241e8d3c147806a2236f10184e0755") size: 5009
kdeconnect.core: Finished transfer QUrl("file:///var/tmp/kdeconnect_milk/2655089536ca6d5378abc13cd937b647")
kdeconnect.core: Finished transfer QUrl("file:///var/tmp/kdeconnect_milk/00241e8d3c147806a2236f10184e0755")

kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "Galaxy Note9"
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "Galaxy Note9"

kf.kio.widgets: Failed to check which JobView API is supported "The name org.kde.kuiserver was not provided by any .service files"
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: FileTransferJob Downloading payload to QUrl("file:///home/milk/dl/220926-071234.wav") size: 8303276
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "Galaxy Note9"
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "Galaxy Note9"
kdeconnect.core: Finished transfer QUrl("file:///home/milk/dl/220926-071234.wav")

kdeconnect.core: FileTransferJob Downloading payload to QUrl("file:///home/milk/dl/230103-041511.wav") size: 4294967236
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "Galaxy Note9"
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "Galaxy Note9"

kdeconnect.core: Received incomplete file ( 0 / 4294967236 bytes ), deleting


Android: 1.19.1, via F-Droid
Linux: 22.12.1-1