Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix incomplete file downloads in ssh2 sftp_read #310

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

tpapaioa
Copy link
Collaborator

@tpapaioa tpapaioa commented Sep 6, 2024

This PR fixes a bug in the ssh2 / ssh2-python312 implementation of sftp_read, which was only saving the last chunk of file data locally, in cases where the sftp transfer involves multiple reads.

@tpapaioa tpapaioa self-assigned this Sep 6, 2024
@tpapaioa tpapaioa added the bug Something isn't working label Sep 6, 2024
Copy link
Member

@JacobCallahan JacobCallahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK, great catch!

@JacobCallahan JacobCallahan merged commit 5e23057 into SatelliteQE:master Sep 6, 2024
4 checks passed
@tpapaioa tpapaioa deleted the fix_ssh2_sftp_read branch September 6, 2024 18:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants