• 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
Accessing files in QT Cache
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessing files in QT Cache


  • Subject: Accessing files in QT Cache
  • From: Matt <email@hidden>
  • Date: Wed, 27 Dec 2006 14:11:58 -0500

I've read more documentation and searched through past mailing lists than I ever cared to do trying to find answers on this one.....

I would simply like to be able to have direct access to a movie file when played in a webview. I would like to be able to save this file, but i can't figure out how to access it.

I have tried grabbing the data from the the webFrame (I'm using a WebView from WebKit), but I only ever get a few kilobytes worth of data. I have tried web archives and a few other different ways of accessing the data. I can get a valid HTML document saved, but that doesn't give me the video that I'm trying to access.

Since none of that worked I thought the problem must lie in either the WebKit or QuickTime caches. My application's cache has "cached" instances of all the URLRequests, but those are only about 4kb in size, not a real movie file. (I determined this by changing the directory in the sample application "/Developer/Examples/WebKit/ DiskCacheInspector" and viewing the cache objects that way). Safari's cache didn't hold any relevant information, so I assumed the data was being cached by the QuickTime plugin and stored in that cache. This seems to be the case as the "~/Library/Caches/QuickTime/ downloads/" directory is much larger in size than my other caches, which are a usually less than 1mb total.

I read up on NSCachedURLResponse, NSURLCache, etc, but I'm not sure if that really applies to the ".qtch" files that are in this cache folder. I'm not able to access them. Ideally I would like to be able to look in the webkit maintained history and if the URL is in that list, search for the corresponding cached object in QT's cache, being able to retrieve data from that object and save for later if needed.

Does anyone have any suggestions?

Thanks,

Matt
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Accessing files in QT Cache
      • From: "douglas a. welton" <email@hidden>
  • Prev by Date: Re: NSBezierPath from NSImage
  • Next by Date: Re: NSBezierPath from NSImage
  • Previous by thread: "Data Kit" and Latent Semantic Analysis (subject added)
  • Next by thread: Re: Accessing files in QT Cache
  • Index(es):
    • Date
    • Thread