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

ObjectsApi uploadChunk #48

Open
ilseva opened this issue Jan 5, 2021 · 0 comments
Open

ObjectsApi uploadChunk #48

ilseva opened this issue Jan 5, 2021 · 0 comments

Comments

@ilseva
Copy link

ilseva commented Jan 5, 2021

Hi.
I'm trying to use ObjectsApi.uploadChunk but I think there are one problem:
in the signature it seems to need the whole file
public ApiResponse<ObjectDetails> uploadChunk(String bucketKey, String objectName, Integer contentLength, String contentRange, String sessionId, File body, String contentDisposition, String ifMatch, Authentication oauth2, Credentials credentials) throws ApiException, Exception {
but if I have to upload a chunk why do I need to pass the whole file?
I changed signature with byte[] instead of File and seems it's ok. What do you think?
Thanks.

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