sshfs icon indicating copy to clipboard operation
sshfs copied to clipboard

Corrupted files when using `get()`

Open karolzlot opened this issue 2 years ago • 3 comments

I'm not able to debug this issue further, I can only share it.

Some files (.zip archives) are corrupted when using:

ssh.get(ssh_file["name"], "/tmp/")

What's important is the same files are corrupted the same way, it's not random at all, when tested multiple times. Files which are not corrupted are not currupted always also.

The fix was in this case to switch to https://github.com/althonos/fs.sshfs (completely solved the issue)

karolzlot avatar May 11 '22 21:05 karolzlot

@karolzlot Hi. It would be great if you could share more details about your setup. If you can share one of example files that gets corrupted that would also be very helpful.

efiop avatar May 11 '22 21:05 efiop

Unfortunately, I can't share any files.

karolzlot avatar May 11 '22 21:05 karolzlot

Maybe it will help: I was connecting with user and password without ssh key, so it's not standard way. Maybe it has to do something with it, but not sure... I think I can't help more.

karolzlot avatar May 11 '22 21:05 karolzlot