On Sun, 27 Oct 2002, Ian Clarke wrote:
> On Sun, Oct 27, 2002 at 09:10:49AM -0800, Ian Clarke wrote:
> > On Mon, Oct 28, 2002 at 03:50:16AM +1100, fish wrote:
> > > so, how do I turn on skip datastore via FCP? ^_^
> >
> > IIRC it is on by default.
>
> Correction, random first step is on by default. Doh.
If I read the source below correctly (it's from
freenet/src/freenet/message/client/ClientRequest.java), the way to do this
is to add a line "Flags=1" to your FCP ClientGet or ClientPut
request. This, at least, works for me.
if (otherFields.containsKey("Flags")) {
int flags=Integer.parseInt(otherFields.get("Flags"), 16);
if ((flags&1)>0)
RemoveLocal = true;
else
RemoveLocal = false;
}
- fish
_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl