Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Bucket object size limitation #77

Open
JarlPed opened this issue Nov 19, 2020 · 2 comments
Open

Bucket object size limitation #77

JarlPed opened this issue Nov 19, 2020 · 2 comments
Labels

Comments

@JarlPed
Copy link

JarlPed commented Nov 19, 2020

It appears that uploading a file of size 2050 MB to a Bucket Object works out fine for this SDK, but when I try to fetch the response from the server, I get an exception for the Json handle. I presume that the "size" object in the json response is formatted in 32-bit integer? Causing an issue where the json formatting cannot convert a 64-Bit integer to 32 bits.

Is this only an issue at the client side?

My exception reads:
Could not convert to integer: 2149643321. Path 'items[0].size'.

@JarlPed
Copy link
Author

JarlPed commented Nov 26, 2020

I was actually able to change the source code to allow uploads for 2050+ MB by changing the 32 bit integers with 64 bit "long" integers. However, I get an issue when translating to SVF in the cloud (tested a .rcp file with zipped supporting file content). I may perform a pull request if there's any interest for this.

@cyrillef
Copy link
Contributor

Hi, you are very welcome to do a pull request

@cyrillef cyrillef added the bug label Nov 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants