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

File Chunks #2074

Open
MoaazSuliman opened this issue Aug 9, 2024 · 5 comments
Open

File Chunks #2074

MoaazSuliman opened this issue Aug 9, 2024 · 5 comments

Comments

@MoaazSuliman
Copy link

MoaazSuliman commented Aug 9, 2024

Hi All,
I'm uploading the large file to azure,
Is there are chunk way to can use it for large files?!

@paulcwarren
Copy link
Owner

Hi @MoaazSuliman ,

What is your issue? Are you encountering OOMs? Or is it just slow? If it is the latter then we could add a property to allow application to specify the buffer size to use like we did recently on JPA when we fixed issue #1944

@MoaazSuliman
Copy link
Author

MoaazSuliman commented Aug 14, 2024

@paulcwarren
No I want to divide my file into chunks to can upload the large files without any problems for connection..
is Spring content support chunks?!

why because if I'm uploading large video and the connection stopped,
I'll upload it again,, and that's not ok.

for this reason want to use chunks...
if the connection stopped for some reason , I'll just upload the not uploaded chunks not the whole large file again...

So my question is, do you support file chunks while uploading it?!
Thanks...

@paulcwarren
Copy link
Owner

paulcwarren commented Aug 15, 2024

do you support file chunks while uploading

No, Spring Content does not support that currently. Supporting byte-ranges on uploads would be the other way we could consider supporting that "restart upload after failure" use case.

@MoaazSuliman
Copy link
Author

@paulcwarren
is there are documentation for byte-ranges , to know how can I use it.
and If the failure happen , the uploading will restart from the beginning?!

@paulcwarren
Copy link
Owner

SC does not support either currently (byte-ranges are supported on GETs only atm). But byte range PUTs would be less disruptive to the API. Are you using Spring Content REST, or just one of the storage modules?

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

No branches or pull requests

2 participants