forge-php-client
forge-php-client copied to clipboard
uploadChunk
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
I got it! The variable body is wrong!It was my fault
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
With large files try upload them by chunks and verify integrity by their sha1s afterwards - see here