Enelar / win-sshfs

Automatically exported from code.google.com/p/win-sshfs
0 stars 0 forks source link

Certain applications writing to files truncate them #93

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install CompareIt - http://www.grigsoft.com/wincmp3.htm
2. Mount a drive and compare a local file with a remote one
3. Make some changes in CompareIt to the remote file and save

What is the expected output? What do you see instead?
Remote file will be zero bytes long.

What version of the product are you using?

win-sshfs: 0.0.1.5
Client OS: Windows 7 64-bit
Server OS: Ubuntu 13 LTS
Ssh server: sshd

Please provide any additional information below.

Original issue reported on code.google.com by ddascale...@gmail.com on 19 Feb 2014 at 11:40

GoogleCodeExporter commented 9 years ago
Here is what happens behind the scene: temp file is created, then copied via 
::CopyFile, then temp file is deleted. As result we have normal file of 0 
length. Is this an expected behavior?

Original comment by grigs...@gmail.com on 24 Feb 2014 at 7:24