Bug 443887

Summary: sftp - "A file named already exists" if edit a file
Product: [Applications] dolphin Reporter: kde
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version First Reported In: 21.08.2   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kde 2021-10-17 13:25:51 UTC
SUMMARY

When I connect to my server via SFTP and want to save an edited file I get the message: #
"The file sftp://xxx.xxx.xxx.xxx/root/.bash_history has been modified. Do you want to upload the changes?"
When I then click on upload I get the message:
"A file named sftp://xxx.xxx.xxx.xxx/root/.bash_history already exists."

STEPS TO REPRODUCE
1. open a file on sftp
2. edit and save it

OBSERVED RESULT
Get the Message "A file named sftp://xxx.xxx.xxx.xxx/root/.bash_history already exists."

EXPECTED RESULT
The file is simply overwritten

SOFTWARE/OS VERSIONS
Linux (x86_64) release 5.13.19-2-MANJARO Gnome