File diff: [root]/hellnet/tech/URIs/file @ aac720a39a1 | src | log | faq | css

diff --git a/hellnet/tech/URIs/file b/hellnet/tech/URIs/file
new file mode 100644
index 0000000..a0dbf96
-- /dev/null
++ b/hellnet/tech/URIs/file
@@ -0,0 +1,16 @@
h1. File hell:// URIs

h2. Regex

^hell://file/([0-9a-f]{64})$

$1: chunk hash

h2. Optional parameters

name: Any string, contents' filename
key: hex number, symmetric encryption key

h2. How it works

Searches for chunk with hash=$1, then unrolls it as [[../recursive-filelinks|recursive filelink]] and downloads the file. Name is received from "name" parameter, otherwise $1(.key) may be taken.
\ No newline at end of file

By Alexander Markov on 2009-11-22 00:42:06 +0300 Powered by bitcheese wiki engine