On Mon, Apr 09, 2001 at 07:07:08PM +0100, toad wrote:
> We need a utility to get the CHK for a file without inserting it. The obvious
> interface is to change freenet_request to only calculate CHKs etc and not 
> insert
> files when given -htl 0. I have done this for libfreenet, but don't do Java 
> ATM.
> This is very useful for one-page sites (without an MSK), and saves space in 
> the
> MSK for images on *any* site. This could improve the efficiency of tools like
> PutFiles if used automatically on HTML, but is essential when rolling-your-own
> insertion scripts. For maximum utility we could have something on the fproxy
> page to find the CHK of any non-CHK key.

Well, FCP already supports this (GenerateCHK command), FNPClient supports it,
and the upcoming FCPClient will.  It's just a matter of making the command-line
clients and fproxy use it.

InsertClient and RequestClient are going to be needing a rewrite soon anyway,
with all this metadata handling stuff coming down the pipe.  I am thinking of
just making a Freenet.client.ShellClient that does inserts, requests,
computations, etc.

Perhaps we should just get GJ and Mr. Bad to produce a standard
command-line client for Freenet.client that does everything people want..
as was suggested.

I certainly wouldn't miss Insert/RequestClient.

-- 

# tavin cole
#
# "The process of scientific discovery is, in effect,
#  a continual flight from wonder."
#                                   - Albert Einstein


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

>From devl-admin at freenetproject.org  Mon Apr  9 15:03:55 2001
Return-Path: <devl-admin at freenetproject.org>
Received: from hawk.freenetproject.org (postfix@[4.18.42.11])
        by funky.danky.com (8.9.3/8.8.7) with ESMTP id PAA19623
        for <danello at danky.com>; Mon, 9 Apr 2001 15:03:54 -0400
Received: from hawk.freenetproject.org (localhost [127.0.0.1])
        by hawk.freenetproject.org (Postfix) with ESMTP
        id 465A7580E9; Mon,  9 Apr 2001 11:46:04 -0700 (PDT)
Delivered-To: devl at freenetproject.org
Received: from moe.cc.utexas.edu (moe.cc.utexas.edu [128.83.42.2])
        by hawk.freenetproject.org (Postfix) with ESMTP id D80EE58016

Reply via email to