Bug 515607

Summary: kdeconnect-cli Sends Empty Files When Sending Files Without File Extension
Product: [Applications] kdeconnect Reporter: euaoadcioa
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal CC: andrew.g.r.holmes
Priority: NOR    
Version First Reported In: 25.12.1   
Target Milestone: ---   
Platform: KDE Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description euaoadcioa 2026-02-06 12:02:49 UTC
SUMMARY


STEPS TO REPRODUCE

On Linux:
```
> echo 'test' > /tmp/test
> kdeconnect-cli -d<device id> --share /tmp/test
Shared file:///tmp/test
```

OBSERVED RESULT

On the phone a heads up message says that the transfer failed and an empty file 'test' was created in Downloads folder.

EXPECTED RESULT

Transfer the file

SOFTWARE/OS VERSIONS

```
> kinfo
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.18.7-200.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor: Intel® UHD Graphics 620
``` 

ADDITIONAL INFORMATION

```
> kdeconnect-cli --version
kdeconnect-cli 25.12.1
```
```
KDE Connect Android version 1.35.1
```