You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: