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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T10:20:55+00:00 2026-06-09T10:20:55+00:00

I broke up a file into 50 mb packets on the server side and

  • 0

I broke up a file into 50 mb packets on the server side and when I receive it on the iPad, I receive as NSData object through NSURLConnection. To restitch the data, do I create an empty NSMutableData object and just appendData the packets back together in order? Or am I supposed to use NSFileHandle, write to file, seek to end of file, write next file, seek to end of file, rinse, repeat? Thanks!

  • 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-09T10:20:59+00:00Added an answer on June 9, 2026 at 10:20 am

    It really depends on the memory constraints. If the x00M files are too much to handle in memory with the NSData object you will have to go the second route (which I think is a great approach). You can check with Instruments if you are within acceptable limits.

    Seeing that you want to do this on an iPhone, it is very likely that you will have to do it via the file system.

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

Sidebar

Related Questions

I am trying to create video streaming for my ipad app. I've gone through
I have a 2000 line jquery file, I just broke up the file into
I have just broken up a Spring bean configuration file into smaller external files
I read a delimited text file into dataset. i am writing these dataset values
I made a form process and broke the code up into different files to
I'm loading as2 swf into AIR application. It works properly when loaded from file
I have a file, say 'file1.html', loaded into a div via jQuery $('#info').load('info/file1.html'); I
Earlier today, I broke one of my classes into two, by marking the original
I'm attempting to use AJAX to insert data into a database, but am unable
I was wondering if it was possible to split a file into equal parts

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.