sshfs-win icon indicating copy to clipboard operation
sshfs-win copied to clipboard

When copying files to remote system, always says they all exist (and 0-byte files with same name are created)

Open MilesTFox opened this issue 3 years ago • 5 comments

I am using sshfs-win-3.5.20160-x64, with winfsp-1.7.20172, sshfs-win-manager-setup-v1.1.0-beta.1

The local system is Windows 10 Pro 10.0.19041.508. The local filesystems are NTFS.

The remote system is Ubuntu 20.04.1 LTS. The remote filesystems are BTRFS.

Observed behavior: Begin a file copy in explorer, single file or multiple, to the remote system, it immediately tells me the files exist in the destination. If I click to compare details, all the destination copies are 0 bytes.

If I cancel the copy, the 0-byte copies are left on the destination.

I can say overwrite all those in the destination, and then everything proceeds as expected, the correct files are left.. but this concerns me as I might overwrite things I don't intend to.

Expected behavior: Begin a file copy in explorer, single file or multiple, to the remote system, it only tells me the files exist in the destination if they already did. No 0-byte copies are created.

MilesTFox avatar Sep 30 '20 04:09 MilesTFox

Anyone found a solution / fix for this? I've got exactly the same issue, tried with different configurations, always the same result - no problem if I use WinSCP for example

retro81 avatar Jul 13 '21 14:07 retro81

I have not found any solution/fix for this.

MilesTFox avatar Jul 18 '21 22:07 MilesTFox

Problem still exists in V3.7.21011

chrisvdt avatar Apr 05 '22 15:04 chrisvdt

problem still exists on win7 x64 it is just this, on W11 it also says something about no permission but you can continue and it finally (over)writes the files. Very odd behavior, but a solution is still needed :o

ROdoka avatar Jan 18 '23 14:01 ROdoka

solution: https://github.com/winfsp/winfsp/issues/357#issuecomment-1693873684

athila76 avatar Aug 25 '23 20:08 athila76