• 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
Moving vs copying file resulting from NSURLSession download task
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Moving vs copying file resulting from NSURLSession download task


  • Subject: Moving vs copying file resulting from NSURLSession download task
  • From: Rick Mann <email@hidden>
  • Date: Fri, 14 Aug 2015 13:39:13 -0700

I wrote code that downloads hundreds of files in an NSURLSession. For each one, it moves it on the file system to the right location.

Example code from Apple and elsewhere online shows the file being copied, not moved.

However, my code seems to work. Is this safe/acceptable?

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: Moving vs copying file resulting from NSURLSession download task
      • From: Adam Kaplan <email@hidden>
  • Prev by Date: Solving an issue with an 802.1x/OS X 10.10 bug?
  • Next by Date: Mysterious SSL failures in iOS 9 simulator (but not on real devices)
  • Previous by thread: Solving an issue with an 802.1x/OS X 10.10 bug?
  • Next by thread: Re: Moving vs copying file resulting from NSURLSession download task
  • Index(es):
    • Date
    • Thread