• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Questions about uploading files via background NSURLSession
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Questions about uploading files via background NSURLSession


  • Subject: Questions about uploading files via background NSURLSession
  • From: Rick Mann <email@hidden>
  • Date: Tue, 03 Feb 2015 11:38:46 -0800

My app has to upload dozens of ~10MB files, and a few ~50K files. It prioritizes sending the small files first, and then prioritizes some large files over others. It only sends one file at a time, partly because it loads the contents into RAM to do the upload, and partly because it was easier to code that way.

Can I prioritize in the same way with background NSURLSessions? Obviously, I could wait until NSURLSession tells me it has finished one upload before I start the next, but it seems like this is neither the desired use, not guaranteed to let me keep uploading files in the background (shouldn't I give all the files to NSURLSession all at once, to ensure they're all available for background uploading)? Will the system take care of limiting how many it uploads at a time to maximize throughput? Will it upload them in the order I presented them?

Thanks,

--
Rick Mann
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Questions about uploading files via background NSURLSession
      • From: Jens Alfke <email@hidden>
    • Re: Questions about uploading files via background NSURLSession
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Next by Date: Re: Questions about uploading files via background NSURLSession
  • Next by thread: Re: Questions about uploading files via background NSURLSession
  • Index(es):
    • Date
    • Thread