winfsp / sshfs-win

SSHFS For Windows
https://winfsp.dev
Other
5.16k stars 262 forks source link

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

Open MilesTFox opened 4 years ago

MilesTFox commented 4 years ago

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.

retro81 commented 3 years ago

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

MilesTFox commented 3 years ago

I have not found any solution/fix for this.

chrisvdt commented 2 years ago

Problem still exists in V3.7.21011

ROdoka commented 1 year ago

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

athila76 commented 1 year ago

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