• 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: Locating a File from NSURLDownload
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locating a File from NSURLDownload


  • Subject: Re: Locating a File from NSURLDownload
  • From: Rudi Sherry <email@hidden>
  • Date: Fri, 11 Mar 2005 15:09:09 -0800

Use a delegate for the download, and have it implement download:didCreateDestination:. This will give you a filename, and you can add to some dictionary a mapping from the download object to the filename.

On Mar 11, 2005, at 1:41 PM, Kodex wrote:

I have come accross a problem. I am downloading a
large number of files with NSURLDownload.

When - (void)downloadDidFinish:(NSURLDownload
*)download
is reached I want to do something additional with
those files but i have no way of knowing which file
this is being called for...

Is there a way i can pull the download path off of
"download" (see above), or is there another way i can
tell what the file path was for the downloaded file. Thanks!


__________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Locating a File from NSURLDownload (From: Kodex <email@hidden>)

  • Prev by Date: Re: memory problem with bi-directional referenced objects
  • Next by Date: Re: Is Mac Mini capable to develop cocoa app?
  • Previous by thread: Locating a File from NSURLDownload
  • Next by thread: Attributed Strings
  • Index(es):
    • Date
    • Thread