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 8502371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:27:57+00:00 2026-06-11T01:27:57+00:00

I am developing an iPhone app to allow user upload photo and share. I

  • 0

I am developing an iPhone app to allow user upload photo and share. I want to use S3 to store uploaded images as well as processed images (foe example, thumbnail, reduced size image). I’ve installed AWS PHP SDK on my EC2 instance.

My questions are:

  1. Should photos uploaded from iPhone app go to a EC2 directory first, then copied over to S3 bucket, or it should directly uploaded to S3?

  2. How can I create different folders under the S3 bucket through PHP SDK and how to read the files from the folder?

  • 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-06-11T01:27:59+00:00Added an answer on June 11, 2026 at 1:27 am
    1. The answer can be found here:
      Direct upload to s3 without the use of a production server

    2. I’ve never used the PHP SDK, but I was browsing through the AWS SDK
      for PHP 1.5.14
      documentation

      and came across the following APIs that you will need to utilize:

      a) create_object : You’ll use this to put a object into a bucket. You’ll specify the filename. You asked how you can create different folders: you will include the full path into the filename. For instance instead of naming the file “photo1.jpg”, you would name it “user1/vacation/photo1.jpg”.

      b) get_object_list : This API will return to you a list of objects given some criteria. If you want to read all the objects from a particular folder, specify the prefix as the path to the folder. For instance, if I want to find all files in the folder “user1/vacation/”, I would specify my prefix to be “user1/vacation/”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an iPhone app, in which i want use an .plist file
I am developing iPhone app for take photo and upload the photo in FTP
I have iPod touch 4th. And I'm developing iPhone app with it. I use
I'm developing an iPhone app that creates a Photo Album to hold the pictures
I'm developing an iPhone app where I use a NSFetchedResultsController in the main table
I am developing an app in which I have to allow user to edit
I want to allow users to take photos within the app I am developing,
We are developing an iPhone app where we need to allow users to search
I am developing an app using Titanium for both iPhone and Android. I want
I'm developing an iphone app that makes use of of a UIWebView to display

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.