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

Plugin cannot upload to AWS sFTP #201

Open
mattzuba opened this issue Dec 4, 2024 · 0 comments
Open

Plugin cannot upload to AWS sFTP #201

mattzuba opened this issue Dec 4, 2024 · 0 comments

Comments

@mattzuba
Copy link

mattzuba commented Dec 4, 2024

I'm attempting to upload a file using this to an AWS Transfer sFTP instance and it fails with sftp: "Cannot open file in mode: CREATE|READ|TRUNCATE|WRITE" (SSH_FX_OP_UNSUPPORTED).

Looking into the sftp go pkg and searching issues there, this is due to the Create function opening the file with the READ flag, but AWS sFTP does not support this as is now documented.

Any chance this can either be fixed here or a setting added to support AWS sFTP?

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

1 participant