Under Construction beta

          


Instructions

Add this to your 9fs script:

case 9paste
	srv -n fs.9paste.net 9paste /n/9paste

You can create files anonymously in /n/9paste/none, and they will be available via http. /n/9paste/none/x, for example, will be accessible at http://www.9paste.net/none/x. Similarly, files created via the web form will be available via 9p. To download an entire directory from the web interface at once, append ?tar to the url. The contents of /n/9paste/none cannot be listed, so you can only access a file by first knowing its name.

Files in /n/9paste/none cannot be overwritten and so must be created with a unique name. Randomized names can be generated with the following program: randname.c. The following script, in concert with the above randname program and 9fs case, will write its input to a new file with optional suffix in /n/9paste/none, printing the created file's name: 9paste. For example:

; 9paste </lib/ndb/local
http://www.9paste.net/none/703-706-6856
gopher://gopher.9paste.net/0/none/703-706-6856
/n/9paste/none/703-706-6856

; 9paste .png </dev/screen
http://www.9paste.net/none/412-652-7930.png
gopher://gopher.9paste.net/I/none/412-652-7930.png
/n/9paste/none/412-652-7930.png


Last Modified: $Id: index.html,v 1.6 2009/07/26 12:22:29 rsc Exp $