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

uploadChunk #43

Open
zhangjing007 opened this issue Mar 7, 2020 · 3 comments
Open

uploadChunk #43

zhangjing007 opened this issue Mar 7, 2020 · 3 comments

Comments

@zhangjing007
Copy link

zhangjing007 commented Mar 7, 2020

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
Copy link
Author

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

@zhangjing007
Copy link
Author

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

@dukedhx
Copy link
Contributor

dukedhx commented Mar 26, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants