awss3transferutility

AWSS3 What are the best strategies of bucket location for video uploading?

喜欢而已 提交于 2019-12-25 11:01:44
问题 I have configured a bucket on Amazon and I use CloudFront. I upload images and videos on it. Even though my videos are max 15 sec and I compress them (with AVAssetExportSession in AVAssetExportPreset640x480 format + shouldOptimizeForNetworkUse set to true ) before sending them, it seems too long to upload (sometimes more than 1,5 min). I was wondering if I should configure several buckets in several locations in the world in order to upload the user video to the nearest bucket and reduce the

How to upload an Android file to S3 bucket with public permission

此生再无相见时 提交于 2019-12-13 05:38:01
问题 I keep trying to upload a file to an s3 bucket. But the file is never public for viewing. I have to manually make the files/folder in the bucket public (for every upload) for it to be view able. Is there a way to upload an Android file (bitmap) with the default permission to be public for viewing during. I would prefer to do this programmatically, if possible. I've checked the s3 docs, couldn't find anything helpful. 回答1: To make all objects in your bucket public by default, view the answers

Swift upload multiple files parallel into AWS S3 and show progress view status in tableview cell

≡放荡痞女 提交于 2019-12-04 07:05:55
问题 I am new for AWS, I have done some file uploading into AWS S3 with TransferUtility file transformation. Here my scenario steps 1. Picking the files from iCloud public func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentAt url: URL) { let fileurl: URL = url as URL let filename = url.lastPathComponent let file-extension = url.pathExtension let filedata = url.dataRepresentation // Call upload function upload(file: fileurl, keyname: filename, exten: file-extension) //

how to set ACL for an object while uploading it to Amazon s3?

蓝咒 提交于 2019-12-01 10:18:00
问题 i can upload images from Android to Amazon s3. But they are always private, no one can display them. i have to make it public on Amazon s3 management console. i can not set ACL for an image while uploading it. I learned that, there are two ways to upload image to Amazon s3 from Android: using PutObjectRequest using TransferUtility.upload() i tried both. if i prefer PutObjectRequest, i have to use AsyncTask or another thread. Because PutObjectRequest runs on main thread. But i do not want to