Questions tagged [awss3transferutility]

58 questions
2
votes
2 answers

AWS s3 TransferListener not updating in Android

I am trying to download from s3 and update a progress bar. I set up TransferUtility, TransferObserver and TransferListener. The problem is that as the file downloads it only updates progress rarely. For a 1.6mb (1665824) file it will output 0, then…
2
votes
1 answer

iOS AWS S3 Transfer Utility not uploading

I've implemented this tutorial exactly, and i'm able to successfully upload an image to a s3 bucket using the uploadData method (the completion handler block runs with error=nil). My problem is that I can't see the file in the bucket when i'm…
David Ben Ari
  • 2,259
  • 3
  • 21
  • 40
2
votes
1 answer

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

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…
cimenmus
  • 1,386
  • 4
  • 18
  • 31
2
votes
1 answer

AWSS3TransferUtility background upload - disable cellular access (wi-fi only)

Yo. I'm working with the AWS S3 SDK on iOS, and need to upload large files (videos). Since they're large, I need the upload to continue while the app is in the background, suspended or terminated (AWSS3TransferUtility does the heavy lifting here).…
beebcon
  • 6,893
  • 5
  • 25
  • 27
1
vote
1 answer

how to mock/unit test downloads from amazon s3?

I am new to unit testing/moq and was wondering how this could be done. I have a function that downloads a file from s3 to local. How can I mock this so that it doesn't actually use transferUtility to download anything from s3? bool…
Tyler Le
  • 51
  • 1
  • 2
  • 8
1
vote
2 answers

Cannot find type 'AWSS3TransferManagerUploadRequest' in scope

I am new in Swift. Since I update podfile I am facing issue in AWSS3 Cannot find type 'AWSS3TransferManagerUploadRequest' in scope Cannot find type 'AWSS3TransferManagerDownloadRequest' in scope There is also import AWSS3 in ViewController. I am…
Muju
  • 884
  • 20
  • 54
1
vote
0 answers

Downloading images from S3 and showing them using SwiftUI results in high memory usage

Hey So I am downloading images from AWS S3 and show them in my app using a swiftUI LazyVGrid. My code to download is the following: class S3CacheFetcher: Fetcher { typealias KeyType = MediaItemCacheInfo typealias OutputType = NSData …
mufumade
  • 400
  • 4
  • 16
1
vote
1 answer

S3 upload from iOS Swift - AWSS3TransferUtility not uploading

Fellow devs, I have a requirement to upload in S3 in a cognito-unauthenticated + cognito authenticated state. (the upload should disregard cognito credentials, but can happen during both states) I have a cognito identity pool with unauthorized role…
Nirav Bhatt
  • 6,940
  • 5
  • 45
  • 89
1
vote
1 answer

How to download multiple files at once from S3 using C# AWS SDK

How to download multiple files from s3 buckets. I could not find any better option on SO. Here is my code for single file download. Given list of Urls, I am looping to download multiple files. public async Task Download(string url, Stream…
LP13
  • 30,567
  • 53
  • 217
  • 400
1
vote
1 answer

How do you set Content-Encoding for an upload to AWS S3 using AWSSDK.S3 package in .NET?

Task: Upload an already-compressed file to an Amazon AWS S3 bucket using the AWSSDK.S3 package in .NET Core, and set the Content-Encoding header to "gzip". I have an S3 bucket that I am trying to upload to. I'm using an IO stream for the data, but…
1
vote
1 answer

A background URLSession with identifier already exists

I have an S3Service which is a singleton that manages all the S3 related uploads and downloads. When I upload the first image it works fine but if I try to upload an Image consecutively It gives me this warning and the completion block never gets…
1
vote
1 answer

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

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,…
user10222734
1
vote
1 answer

AWSS3TransferUtilityMultiPartUploadTask - Progress value not updated returning from background

I'm using the AWS iOS SDK to upload files to S3. I am using AWSS3TransferUtility because I want to allow background uploads. The background task is working - a large file can successfully upload while backgrounded. The issue is, when I bring my app…
Jake G
  • 1,185
  • 9
  • 19
1
vote
0 answers

Does aws transfer utility(iOS) provides any provision for initializing shared identifier property for share extension?

I am getting this AWSDomainError =-995 error when I upload image to S3. Now I am solving this by adding the group in pod file in which case I have to unlock it. Is there any configuration method to expose the property?
1
vote
2 answers

TransferUtility S3 resume does not work

I am using TransferUitlty class to upload files to S3. Everything is going fine except that after I pause a upload and resume it. the file is uploading from beginning and not from where I paused. Is this resume method designed for restarting the…