On Wed, May 29, 2002 at 07:13:47PM +0000, Phil Marlowe wrote:
> I'd like a quick and easy method of deriving the CHK key for a document, 
> other than reading the nodes' response to a successful insert.
> 
> My reasons are convoluted, but they have to do with an attempt to come up 
> with a utility to insert large sites.  Right now fcpputsite is very 
> perfectionist.  It  will only write a mapfile if every single page has 
> inserted successfully *in this run*.  I think that's too much to ask.  I'm 
> thinking along the lines of a daemon, that keeps trying to insert documents 
> of a very large non-DBR site.  If the index.html and mapfile get out there, 
> then the site is partly useable, and that's better than nothing.  The rest 
> of the site will presumably make it out there eventually.
> 
There is a getchk command, both in FCP and freenet.client.cli.Main
(java freenet.client.cli.Main for usage - make sure the fred libs are in
the CLASSPATH).

Unfortunately, it does not automatically determine the correct metadata
(filetype), so it's not totally 'quick and easy', AFAIR.

Attachment: msg03108/pgp00000.pgp
Description: PGP signature

Reply via email to