forge-php-client icon indicating copy to clipboard operation
forge-php-client copied to clipboard

uploadChunk

Open zhangjing007 opened this issue 4 years ago • 3 comments

The Upload Chunk Function in autodesk\forge-client\lib\ApiClient.php:234 " $response = curl_exec($curl);",this sentence of code execution is very slow, resulting in stuck.Recv failure: Connection was reset image

zhangjing007 avatar Mar 07 '20 13:03 zhangjing007

I got it! The variable body is wrong!It was my fault

zhangjing007 avatar Mar 08 '20 08:03 zhangjing007

But I have another problem: when the file is relatively large (I tested about 600M), it can upload successfully, but when opening the file, it is prompted that the file is damaged

zhangjing007 avatar Mar 08 '20 08:03 zhangjing007

With large files try upload them by chunks and verify integrity by their sha1s afterwards - see here

dukedhx avatar Mar 26 '20 10:03 dukedhx