Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted files when using get() #22

Open
karolzlot opened this issue May 11, 2022 · 3 comments
Open

Corrupted files when using get() #22

karolzlot opened this issue May 11, 2022 · 3 comments

Comments

@karolzlot
Copy link

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
Copy link
Member

efiop commented May 11, 2022

@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
Copy link
Author

Unfortunately, I can't share any files.

@karolzlot
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants