-
Notifications
You must be signed in to change notification settings - Fork 37
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
Upload Image (PNG file) from Google App Script to S3 Bucket #8
Comments
I also had the same issue, I think it's because the
S3Request.prototype.hexEncodedHash = function(string) {
if(typeof string === "string")
return this.hex(Utilities.computeDigest(Utilities.DigestAlgorithm.SHA_256, string, Utilities.Charset.UTF_8));
else
return this.hex(Utilities.computeDigest(Utilities.DigestAlgorithm.SHA_256, string.getBytes()));
} |
upload images instead of string (@link eschultink#8 (comment))
edit to upload images instead of string (@link eschultink#8 (comment))
Thanks! This is a lifesaver! I have been experiencing the issue of corrupted files for 2 days now. |
Thanks it saved my life |
Thank you so much for this!! |
For anyone still looking for a solution, I have published S3Patches, which include hotfix. You can install this library using App Script ID:
|
Trying to upload a
png
file:File is uploading in S3 but not in perfect way! It's look like:
If I download the image and open getting the error:
The text was updated successfully, but these errors were encountered: