• 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 get information from the download manager?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get information from the download manager?


  • Subject: Re: How to get information from the download manager?
  • From: Adam Leonard <email@hidden>
  • Date: Thu, 30 Jun 2005 23:59:02 -0700

Well, if you really needed to do it, there might be another way.

As of tiger (and panther), safari creates a .download bundle for every download and saves it to the download location as set in the preferences. Inside the .download bundle is a plist that provides all the information the downloads.plist does, but it updates it as the file downloads.

So, if you found a way to find the download location set in the preferences (the only way I know to do that would be to phrase the safari preferences file) you could intercept all the .download files as they are created and phrase the plist inside.

This could easily break in future releases, and I think they added the .download files in panther, so you couldn't support 10.2.

Of course, as mentioned, the best thing to do would be to file an enhancement request

-Adam Leonard
_______________________________________________
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


  • Next by Date: Re: [CAcnTItem indexPath]: selector not recognized [self = 0x15d26c90]]
  • Next by thread: Re: [CAcnTItem indexPath]: selector not recognized [self = 0x15d26c90]]
  • Index(es):
    • Date
    • Thread