Skip to content
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

Xamarin S3 Upload more than one file at once #239

Closed
ceichin opened this issue Aug 30, 2015 · 4 comments
Closed

Xamarin S3 Upload more than one file at once #239

ceichin opened this issue Aug 30, 2015 · 4 comments
Labels
feature-request A feature should be added or improved.

Comments

@ceichin
Copy link

ceichin commented Aug 30, 2015

I need to upload a directory or upload more than one file at once to an S3 bucket. I found this: http://docs.aws.amazon.com/AmazonS3/latest/dev/HLuploadDirDotNet.html but there is no such method in TransferUtility using the .NET SDK in Xamarin.

Is there a way to upload many files at once easily? Or, is that method being implemented?

I'm using Xamarin.iOS with SDK .NET Nuget v3.1.2.1 on Xamarin Studio. Thanks.

@MichaelMcGlothlin
Copy link

It should be there. Using the right namespace? If I remember right it isn't directly under S3.

📱 Michael McGlothlin

On Aug 29, 2015, at 10:37 PM, ceichin notifications@github.com wrote:

I need to upload a directory or upload more than one file at once to an S3 bucket. I found this: http://docs.aws.amazon.com/AmazonS3/latest/dev/HLuploadDirDotNet.html but there is no such method in TransferUtility using the .NET SDK in Xamarin.

Is there a way to upload many files at once easily? Or, is that method being implemented?

I'm using Xamarin.iOS with SDK .NET Nuget v3.1.2.1 on Xamarin Studio. Thanks.


Reply to this email directly or view it on GitHub.

@ceichin
Copy link
Author

ceichin commented Aug 30, 2015

Thanks for your response Michael.

I checked the TransferUtility class and I can't find the UploadDirectory or UploadDirectoryAsync methods (see attached image). The documentation (the link in my first post) says the namespaces are Amazon.S3 and Amazon.S3.Transfer (where TransferUtiliy class is located). I also tried intellisense to suggest me but no luck.

Maybe it's the fact that is not available for Xamarin? Or do I need to do something more? No need to be a directory, if there is a way to upload many files at once is more than enough for me.

Thanks!

screen shot 2015-08-30 at 7 33 31 pm

@PavelSafronov PavelSafronov added the feature-request A feature should be added or improved. label Aug 31, 2015
@PavelSafronov
Copy link

At the moment the Xamarin version of the SDK does not have directory/multi-file upload/download support. For now, you will have to manually loop through multiple files and call UploadAsync for each one.

@jimfl
Copy link
Contributor

jimfl commented Oct 23, 2015

@jimfl jimfl closed this as completed Oct 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

4 participants