fsspec / sshfs

sshfs - SSH/SFTP implementation for fsspec
Apache License 2.0
58 stars 14 forks source link

Corrupted files when using `get()` #22

Open karolzlot opened 2 years ago

karolzlot commented 2 years ago

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)

efiop commented 2 years ago

@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.

karolzlot commented 2 years ago

Unfortunately, I can't share any files.

karolzlot commented 2 years ago

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.