Questions tagged [awss3transferutility]

47 questions
8
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…
6
votes
2 answers

AWS S3 Android SDK 2.11.0

My code looks like this: final AmazonS3Client s3Client = new AmazonS3Client(new BasicAWSCredentials(s3AccessKeyId, s3SecretAccessKey)); final TransferUtility util = TransferUtility. …
GC268DM
  • 373
  • 4
  • 14
4
votes
2 answers

Cancel AWSS3 TransferUtility Upload task on button tap

My requirement is to cancel upload when ever user wishes. I'm following TransferUtility document to setup and upload video, show progress, retains state even if app is in background. I couldn't find any way to cancel the uploadTask. { let…
Hemanth
  • 123
  • 11
3
votes
3 answers

"The connection with the server was terminated abnormally" when uploading to to S3 TransferUtility.UploadAsync on EC2 instance

The error I'm getting is: The thread 0xffc has exited with code 0 (0x0). Exception thrown: 'System.IO.IOException' in System.Private.CoreLib.dll Exception thrown: 'System.IO.IOException' in Anjuna1.dll Exception thrown: 'System.IO.IOException' in…
3
votes
0 answers

The connection with the server was terminated abnormally (AWS S3 file upload)

Using the following code to upload a gzip file to S3: class Program { public static AWSCredentials credentials; static Program() { var chain = new CredentialProfileStoreChain(); if…
ferflores
  • 964
  • 2
  • 17
  • 34
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

Upload subdirectory transferutility S3

I want to upload all the files/folder inside a directory to a S3 bucket. I want to upload including the all the files in all the sub directories. I thought of using TransferUtility to do this. Though the link here says that 'By default, Amazon S3…
Reuben
  • 259
  • 2
  • 14
2
votes
0 answers

Thread Pools ThreadStart and Finished Problem xamarin iOS

I am trying to download an XML file of size 85MB in my Xamarin iOS iPad App. Sometimes download completes successfully, but other times download hangs inbetween somewhere without giving any error. Progress stops. AWS SDK version: AWSSDK.S3…
2
votes
1 answer

Use S3 TransferUtility with Content Uri

im trying to upload a file to S3 using the TransferUtility. I get the Uri via the ACTION_GET_CONTENT Intent. The Result of the Intent looks something like…
OBit
  • 150
  • 1
  • 12
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
  • 1,979
  • 3
  • 18
  • 38
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,026
  • 3
  • 15
  • 29
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,601
  • 5
  • 20
  • 24
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
  • 305
  • 3
  • 10
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
  • 20,711
  • 38
  • 136
  • 286
1
2 3 4