Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5959511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:41:43+00:00 2026-05-22T18:41:43+00:00

I have an Amazon S3 account and have downloaded the AWSiOSSDK framework/SDK pack. The

  • 0

I have an Amazon S3 account and have downloaded the AWSiOSSDK framework/SDK pack. The example works fine. I can “List Buckets” and upload sample data.

I want to use S3 to backup user data and then provide the opportunity to download the same backup to restore the data as and when needed.

I thought it would be easy to identify the methods/classes to do this, but I am struggling. I have looked through the documentation but it is overwhelming (for such a “straight forward” requirement). I cannot find any online tutorials either. I tried stripping out the relevant code & frameworks from Amazon’s example, but stopped after hours of trying to get anything to work.

Does anyone point me to a tutorial (or provide sample code) showing how to use the Amazon SDK in XCode? This is the first time I have tried online backup on iPhone, so please excuse if this seems simplistic.

Appreciate your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T18:41:44+00:00Added an answer on May 22, 2026 at 6:41 pm

    To download:

    s3Client = [[AmazonS3Client alloc] initWithAccessKey:ACCESS_KEY withSecretKey:SECRET_KEY];              
    S3GetObjectRequest *request = [[S3GetObjectRequest alloc] initWithKey:@"YOURKEY" withBucket:@"YOURBUCKET"];
    S3GetObjectResponse *response = [s3Client getObject:request];
    

    response.body is an NSData with the the download

    To upload, S3PutObjectRequest works much the same way. You can specify either a filename or NSData.

    s3Client = [[AmazonS3Client alloc] initWithAccessKey:ACCESS_KEY withSecretKey:SECRET_KEY];              
    S3PutObjectRequest *request = [[S3PutObjectRequest alloc] initWithKey:@"YOURKEY" withBucket:@"YOURBUCKET"];
    request.data = ...
    S3PutObjectResponse *response = [s3Client putObject:request];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have downloaded Amazon Web Services Java SDK, and signed up for access key.
We have a web app which can upload files to S3. For this to
Hi I have recently set up an amazon s3 account for a personal project.
I have recently created an EC2 account on Amazon Web Services. I have created
I have an Amazon S3 account with 1 million items in the root folder.
I'm sure many of you have visited amazon.com. When you do, amazon creates a
I have a ELB (Amazon Elastic Load Balancer) configured to load balance end users
I have some files stored at amazon. all in private mode, and since I
I have a sample RSS from Amazon. While the RSS displays correctly with images
I have a Flex 3 SWF in one Amazon S3 bucket, which dynamically loads

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.