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

S3 file write append #16864

Open
moshOntong-IT opened this issue Jan 29, 2025 · 0 comments
Open

S3 file write append #16864

moshOntong-IT opened this issue Jan 29, 2025 · 0 comments
Labels
enhancement New feature or request s3

Comments

@moshOntong-IT
Copy link

moshOntong-IT commented Jan 29, 2025

What is the problem this feature would solve?

Currently when executing this:

await s3file.write("Hello World!");

It will replace the existing buffer stored in the file.

What is the feature you are proposing to solve the problem?

I propose adding a method parameter that sets append to true. This way, instead of overwriting the existing file, the new data will be appended to it.

For example:

await s3file.write("Hello World!", {append: true});

What alternatives have you considered?

My alternative since we can append chunk by chunk by using the S3 builtin by bun and it because it did not supported yet. My alternative I have considerd is using the presigned.

@moshOntong-IT moshOntong-IT added the enhancement New feature or request label Jan 29, 2025
@RiskyMH RiskyMH added the s3 label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request s3
Projects
None yet
Development

No branches or pull requests

2 participants