forge-api-dotnet-client
forge-api-dotnet-client copied to clipboard
Bucket object size limitation
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'.
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.
Hi, you are very welcome to do a pull request