benporter / aws-glacier-multipart-upload

Script for uploading large files to AWS Glacier
45 stars 32 forks source link

Files which aren't exactly divisible by byteSize throw an error #2

Open tomscott1 opened 7 years ago

tomscott1 commented 7 years ago

I am getting this error when I have a chunk/part that is not exactly the same size as the defined byteSize.

An error occurred (InvalidParameterValueException) when calling the UploadMultipartPart operation: Content-Range: bytes 0-4194303/* is incompatible with Content-Length: 3146447