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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:48:10+00:00 2026-05-15T23:48:10+00:00

I created an iphone app, and i’m currently in development of a web app

  • 0

I created an iphone app, and i’m currently in development of a web app to go along, the main goal is to have the iphone collect data and then upload the data to the web app so that the users can view and print the data that was collected, after the data has been uploaded it will be deleted off the iphone.

Now with that data I have images stored on the iphone’s file system and the path saved in coreData, i wrote the code for export which will pull all the data, out of coredata, and encode the images to base64 string and create a json file for easy transfer. so now this json file due to the encoding of images can become quite large, and sending it via email, might not be possible after about 15MB in size.

So my question is really two fold, what is the best way to transfer these images with their related data to the web app, second, if I go the base64 way, how would I convert it back to a png file to save on the web servers file system and save the path to the mysql DB. I would really like all this to happen during the upload process. I forgot to mention that I can have this JSON file transfered to the users computer, (just in case the size is to large to email) and then the user will go to the website and upload it.

The web app is being written in RUBY.

thanks for any advice.
iAm —

  • 1 1 Answer
  • 3 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-15T23:48:10+00:00Added an answer on May 15, 2026 at 11:48 pm

    I think, you won’t need to use json, but a HTTP-Postrequest. I suggest to use ASIHttpRequest, see their chapter “Sending a form POST with ASIFormDataRequest”

    Response for comment

    let’s say you have the files path in a NSArray called files, this should do the trick (untested)

    ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url];
    for (NSString *s in files){
        [request setFile:s forKey:[NSString stringWithFormat:@"file_%@", [files indexOfObject:s]]];
    }
    

    edit

    Maybe you should check “Streaming request bodies directly from disk” as-well.

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

Sidebar

Related Questions

I'm a relative newbie on iPhone app development but have successfully created a tab
I am using core data in my iPhone app. I have created a simple
I'm just starting to use core data in my iphone app. I have created
My iPhone app currently uses Core Data to save Growth Entries created by the
I am new to iphone app development, i have created my own app, i
I have created slideshow in my app and caching images in CacheDirectory of iPhone
I have created my iPhone App and i must do a document like javaDoc
We have created an iPhone app which our client wants to show on a
In my Iphone App I have created this query: SELECT * FROM visuel where
I have created the following Singleton in my iPhone app: #import AppManager.h static AppManager

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.