Re: [freenet-dev] Freenet CLI

2014-10-22 Thread Steve Dougherty
On 10/17/2014 03:17 PM, John Arley Burns wrote:
> It appears the Freenet command line interface is no longer supported, and I
> can't find the sources anywhere.  I did see a post from 2005 stating how to
> start a command line interface:
> 
> java -cp freenet.jar:freenet-ext.jar freenet.client.cli.Main
> 
> Any pointers on how one might use a CLI interface to freenet?  I'm
> interested in this for development as it makes it much easier to test my
> API calls than just using the code libraries.

I wasn't around for that command line interface, so I don't know what it
did - are you looking for command line utilities to do things like fetch
and insert, or an interactive menu, or something else?

lib-pyFreenet [0] has command line utilities like fcpget and fcpput.

There's Text Mode Client Interface but it's deprecated and I'd like to
remove it soon. It gives a menu on stdout/stdin if both console.enabled
and console.directEnabled are set to "true" in freenet.ini. It's also
available over telnet. Its configuration is visible but not entirely
editable under Configuration > Console interface in advanced mode.
There's more here. [1] Freenet writes its current configuration to disk
on shutdown so it needs to be shut down before edits to freenet.ini can
survive until the next start.

[0] https://github.com/freenet/lib-pyFreenet
[1] https://old-wiki.freenetproject.org/FreenetTMCI



signature.asc
Description: OpenPGP digital signature
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] Freenet CLI

2014-10-19 Thread Matthew Toseland
On 17/10/14 20:17, John Arley Burns wrote:
> It appears the Freenet command line interface is no longer supported, and I
> can't find the sources anywhere.  I did see a post from 2005 stating how to
> start a command line interface:
>
> java -cp freenet.jar:freenet-ext.jar freenet.client.cli.Main
>
> Any pointers on how one might use a CLI interface to freenet?  I'm
> interested in this for development as it makes it much easier to test my
> API calls than just using the code libraries.
pyFreenet IIRC has some command line utilities. There are some other
command line tools for Freenet.

But basically the answer is use FCP. It's actually fairly simple if you
only need to do simple stuff with it.
https://wiki.freenetproject.org/FCPv2
https://wiki.freenetproject.org/FCPv2/ClientPut
https://wiki.freenetproject.org/FCPv2/ClientGet



signature.asc
Description: OpenPGP digital signature
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl