FreenetWiki : FreenetConsole

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Oldest known version of this page was edited on 2006-04-04 19:28:43 by JaQa []
Page view:

Freenet Console


Freenet has a way of interacting with it using the command line rather than through the web interface. You need to telnet to your local machine using the port 2323:

telnet localhost 2323


You should be presented with something like this:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Freenet 0.7 Trivial Node Test Interface
---------------------------------------
Build 616Enter one of the following commands:
GET:<Freenet key> - Fetch a key
PUT:
<text, until a . on a line by itself> - Insert the document and return the key.
PUT:<text> - Put a single line of text to a CHK and return the key.
GETCHK:
<text, until a . on a line by itself> - Get the key that would be returned if the document was inserted.
GETCHK:<text> - Get the key that would be returned if the line was inserted.
PUTFILE:<filename> - Put a file from disk.
GETFILE:<filename> - Fetch a key and put it in a file. If the key includes a filename we will use it but we will not overwrite local files.
GETCHKFILE:<filename> - Get the key that would be returned if we inserted the file.
PUTDIR:<path>[#<defaultfile>] - Put the entire directory from disk.
GETCHKDIR:<path>[#<defaultfile>] - Get the key that would be returned if we'd put the entire directory from disk.
MAKESSK - Create an SSK keypair.
PUTSSK:<insert uri>;<url to redirect to> - Insert an SSK redirect to a file already inserted.
PUTSSKDIR:<insert uri>#<path>[#<defaultfile>] - Insert an entire directory to an SSK.
PLUGLOAD: - Load plugin. (use "PLUGLOAD:?" for more info)
PLUGLIST - List all loaded plugins.
PLUGKILL: <pluginID> - Unload the plugin with the given ID (see PLUGLIST).
CONNECT:<filename|URL> - connect to a node from its ref in a file/url.
CONNECT:
<noderef including an End on a line by itself> - enter a noderef directly.
DISCONNECT:<ip:port> - disconnect from a node by providing it's ip+port or name
NAME:<new node name> - change the node'
s name.
STATUS - display some status information on the node including its reference and connections.
QUIT - exit the program


Now you can connect to other nodes, upload and download freesites, load plugins, etc. from the commandline. Note that QUIT shuts down Freenet. To quit the telnet session, press Ctrl-] and then type quit.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0691 seconds