-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is the size same as file statSync size #19
Comments
This is most likely a logic bug in your code. However, I'm happy to take a closer look if you submit a failing tests. |
the last loop could go over the fileSizeInBytes. the test would be
|
works fine |
with 3.2.0
would need the input file used to test |
I tried to read chunk by chunk and upload to remote server. but the final one seems exceed the file size
I'm using "read-chunk": "^3.2.0", because new version doesn't support require for which My project has to use it
firstChunk result {"d":{"StartUpload":"5242880"}}
uploading continue chunks 5242880 10485760 51387344
...
other chun result {"d":{"ContinueUpload":"47185920"}}
finished uplading... 47185920 52428800 51387344
The text was updated successfully, but these errors were encountered: