FindFile and FireFox cache

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

FindFile and FireFox cache

Postby mathgod » February 26th, 2010, 4:23 am

I am considering a cache editing project. Is there a way to use FindFile to locate a file in the FireFox cache? I can locate the cache folder but the files have a set file name length and no extension.

I have a project that creates gameSettings.xml.gz after editing gameSettings.xml in NotePad++. If the user wishes to edit the FireFox cache, there is a modal form where the user enters the path to the file for gameSettings.xml.gz to be copied to. The project works but I would like to try to eliminate the step of using the CacheViewer add-on to find the file name.
User avatar
mathgod
Junior Member
Junior Member
 
Posts: 35
Joined: December 15th, 2007, 4:36 pm
Location: Middle of New Mexico, USA

Re: FindFile and FireFox cache

Postby Kambiz » February 26th, 2010, 5:38 pm

I think there is no cache folder. My FireFox (v3.6) uses SQLLite to store cache files.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Re: FindFile and FireFox cache

Postby mathgod » February 27th, 2010, 5:02 am

I am using 3.5.8 and the cache folder is C:\Documents and Settings\[user name]\Local Settings\Application Data\Mozilla\Firefox\Profiles\[profile name]\Cache\. I may upgrade soon to see if this changes for me.
User avatar
mathgod
Junior Member
Junior Member
 
Posts: 35
Joined: December 15th, 2007, 4:36 pm
Location: Middle of New Mexico, USA

Re: FindFile and FireFox cache

Postby mathgod » February 27th, 2010, 5:26 pm

I upgraded to 3.6. A few of my add-ons like dig and fetch are broken now. Oh well...

FireFox 3.6 is still using the same cache folder. Using CacheViewer I get this information for the cached gameSettings.xml.gz file.
Code: Select all
Key: http://static-facebook.farmville.com/v17480/gameSettings.xml.gz
Data Size: 71416 bytes
Fetch Count: 20
Last Modified: Saturday, February 27, 2010 *** AM
Last Fetched: Saturday, February 27, 2010 *** AM
Expiration Time: Saturday, February 27, 2010 *** AM
File on disk: C:\Documents and Settings\*****\Local Settings\Application Data\Mozilla\Firefox\Profiles\*****.default\Cache\[file with no extension]

request-method: GET
response-head: HTTP/1.1 200 OK
Server: Apache/2.2.3 (CentOS)
Last-Modified: Sat, 27 Feb 2010 *** GMT
Etag: "**-**-****"
Accept-Ranges: bytes
Content-Length: 71416
Content-Type: application/x-gzip
Date: Sat, 27 Feb 2010 *** GMT
User avatar
mathgod
Junior Member
Junior Member
 
Posts: 35
Joined: December 15th, 2007, 4:36 pm
Location: Middle of New Mexico, USA

Re: FindFile and FireFox cache

Postby Kambiz » February 28th, 2010, 10:10 am

How about locating the file base on its content?
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Re: FindFile and FireFox cache

Postby mathgod » February 28th, 2010, 9:32 pm

Kambiz wrote:How about locating the file base on its content?
This is a good idea. I will try it.
User avatar
mathgod
Junior Member
Junior Member
 
Posts: 35
Joined: December 15th, 2007, 4:36 pm
Location: Middle of New Mexico, USA


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 3 guests

cron