You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How is one supposed to track parts as they are uploaded? Our app needs to upload giant files, and we need to handle poor internet connections. So there's not always a chance that the upload will ever send out a pause event.
Currently we are tracking parts from the part event and adding them to an array. When I use the UploadId and Parts from a previous session, s3-upload-stream always starts from the beginning and ends up uploading too much, corrupting the file.
How is one supposed to track parts as they are uploaded? Our app needs to upload giant files, and we need to handle poor internet connections. So there's not always a chance that the upload will ever send out a
pause
event.Currently we are tracking parts from the
part
event and adding them to an array. When I use theUploadId
andParts
from a previous session,s3-upload-stream
always starts from the beginning and ends up uploading too much, corrupting the file.Here's how we're calling
s3-upload-stream
And if we see what the
part
event logs:It's the exact same ETag we passed in via
sessionDetails
, and it gets uploaded as another part, which corrupts the file.The text was updated successfully, but these errors were encountered: