Questions tagged [awss3transfermanager]

High level utility for managing transfers to Amazon S3.

S3TransferManager provides a simple API for uploading and downloading content to Amazon S3, and makes extensive use of Amazon S3 multipart uploads to achieve enhanced throughput, performance and reliability.

Full Class Reference: http://docs.aws.amazon.com/AWSiOSSDK/latest/Classes/AWSS3TransferManager.html

86 questions
14
votes
1 answer

AWS TransferManager uploadFileList truncating file name in S3

I am trying to batch upload a couple of files in S3 using TranferManager. Below is my code: @GetMapping("s3/batch/upload/base64") public void uploadBase64ToWebp() { List fileList = new ArrayList<>(); String rawData = "1"; String…
T Anna
  • 874
  • 5
  • 21
  • 52
10
votes
2 answers

How to download from AWS S3 using golang

I am writing a go function to download a file from AWS S3 bucket. func DownloadFromS3Bucket() { bucket := "cellery-runtime-installation" item := "hello-world.txt" file, err := os.Create(item) if err != nil { …
9
votes
1 answer

AWS S3 multipart upload too slow in background - iOS

I am using AWS S3TransferUtility's uploadUsingMultipart(fileURL, bucket, ...) function in my iOS app to upload video files to an S3 bucket. The uploads happen very fast whenever the app is in foreground. But as soon as the app goes in the…
8
votes
0 answers

Using AWSS3TransferManager to upload a file to S3 is incredibly slow

For whatever reason when I try to upload a file to S3 using AWSS3TransferManager it is incredibly slow, both in the iOS simulator and on device (iPhone and iPad). I'm on a 1Gbps fiber connection, so that shouldn't be it, and I'm experiencing the…
6
votes
2 answers

Support for object level Tagging in boto3 upload_file method

I want to add tags to the files as I upload them to S3. Boto3 supports specifying tags with put_object method, however considering expected file size, I am using upload_file function which handles multipart uploads. But this function rejects…
5
votes
2 answers

Upload jpg to S3: "The request body terminated unexpectedly"

I am facing an issue with S3. After 3h of troubleshooting (in the meantime i learnt about IAM roles & managed to create them) I am stuck trying to upload a fb profile picture to amazon S3. My code: if let imageData = NSData(contentsOf: NSURL(string:…
5
votes
0 answers

Client side encryption in AWSS3 in iOS using AWS KMS CMK

I Have managed to do the server side encryption in Amazon S3 with my AWS KMS master key. So my questions is, How to do client side encryption in Amazon S3 in iOS using AWS KMS customer master key? Thanks in advance for your help!
4
votes
1 answer

interrupt feature while downloading folder from S3

I am using https://www.npmjs.com/package/s3 package to download folder from s3 but I am not able to find any method to cancel the download or interrupt the download process. So how can I interrupt the ongoing download or stop the download…
3
votes
0 answers

Provide AWS KMS key when doing MultiPartUpload with S3 TransferManager

I am currently trying to use AWS S3 TransferManager to upload a file greater than 5GB to S3, since S3 requires multi part upload for files greater than 5GB. I am using the following code to do this: TransferManager tm =…
Ajayv
  • 374
  • 2
  • 13
3
votes
1 answer

When actually Amazon S3 triggers Lambda

I have a very big file (estimated 50MB). I uploaded this file to an S3 directory which then triggers a Lambda function. I am using TransferManager to do the S3 upload. I read the AWS document about Lambda and S3, it says the Lambda function is…
3
votes
1 answer

Out of memory issue while using Multipart upload API of AWS s3

I am trying to use aws multipart upload using aws SDK and spark and file size is around 14GB but getting out of memory error. Its giving error at this line - val bytes: Array[Byte] = IOUtils.toByteArray(is) I have tried to bump up driver memory and…
Arpan
  • 913
  • 2
  • 12
  • 19
3
votes
0 answers

Amazon SDK custom header issue on Transfer Manager

We are trying to use TransferManager for download file fromAmazon S3. But TransferManager is using getObjectMetadata service multiple times in doDownload function. And to call those service creating a request by copying common members from initial…
3
votes
1 answer

Random files on AWS S3 d_uf

i am working with AWS S3 for the first time using the AWS Mobile HUD. Somehow my S3 bucket is full with (literally 1000's of files) that i cannot access (due to policy) with random d_uf,... names. Any idea what these could be? I am only using AWS…
Sebastian Flückiger
  • 5,525
  • 8
  • 33
  • 69
3
votes
1 answer

AWS / iOS SDK: when should I use AWSS3TransferManager and AWSS3TransferUtility?

What is the difference in usage between AWSS3TransferManager and AWSS3TransferUtility in the Amazon S3 iOS SDK? Here is what the documentation says for AWSS3TransferManager: High level utility for managing transfers to Amazon S3. …
3
votes
1 answer

Which is a better way: retrieve images from AWS S3 or download it and store locally in a temp folder to be displayed?

Problem: Retrieve image from S3 and load into UIButton. I'm currently doing my research on this issue and can't seem to make up my mind. Which is a better way to do it in terms of performance and security issue? Also, do I need to do caching or…
1
2 3 4 5 6