• 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
Re: How to specify Volume to NSURLSession ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to specify Volume to NSURLSession ?


  • Subject: Re: How to specify Volume to NSURLSession ?
  • From: email@hidden
  • Date: Tue, 29 Sep 2015 18:25:12 +0900

That is to say use the data task delegate methods to receive data and write it where you want it?

Sent from my iPhone

> On Sep 29, 2015, at 5:39 PM, Mike Abdullah <email@hidden> wrote:
>
>
>> On 29 Sep 2015, at 07:02, Gerriet M. Denkmann <email@hidden> wrote:
>>
>> When I download a file using NSURLSession downloadTaskWithRequest the file ends up in exactly the wrong volume.
>> Which means: I have to copy it to the right one, which, for really big files, can take some non-trivial time.
>>
>> Is it possible to advise NSURLSession which volume to use?
>
> To my knowledge, it’s not possible, and would make an excellent feature request.
>
> I think you would implement something similar yourself at present by using a streamed task, and writing the data to disk yourself.
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: How to specify Volume to NSURLSession ?
      • From: Mike Abdullah <email@hidden>
References: 
 >How to specify Volume to NSURLSession ? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: How to specify Volume to NSURLSession ? (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: How to specify Volume to NSURLSession ?
  • Next by Date: Re: How to specify Volume to NSURLSession ?
  • Previous by thread: Re: How to specify Volume to NSURLSession ?
  • Next by thread: Re: How to specify Volume to NSURLSession ?
  • Index(es):
    • Date
    • Thread