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

GH-8566: Fix SftpSession.append() for Write #8576

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

artembilan
Copy link
Member

Fixes #8566

Turns out some SFTP servers are strict enough to not let to append into existing file if we don't give in addition a Write open mode flag as well

Cherry-pick to 6.0.x

Fixes spring-projects#8566

Turns out some SFTP servers are strict enough to not let to append into existing file
if we don't give in addition a `Write` open mode flag as well

**Cherry-pick to `6.0.x`**
@garyrussell garyrussell merged commit 1c90a60 into spring-projects:main Mar 20, 2023
@garyrussell
Copy link
Contributor

...and cherry-picked as 434c306

garyrussell pushed a commit that referenced this pull request Mar 20, 2023
Fixes #8566

Turns out some SFTP servers are strict enough to not let to append into existing file
if we don't give in addition a `Write` open mode flag as well

**Cherry-pick to `6.0.x`**
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

Successfully merging this pull request may close these issues.

SFTPSession.append() not working correctly
2 participants