summaryrefslogtreecommitdiffstats
path: root/system/application/views/file/client.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-11-01 17:25:03 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-11-02 13:36:54 +0100
commit4e058f32ff6174698709a9afdf67f4f9af60e7db (patch)
tree26d18dacd491f4d7a75949ed5373268850e11973 /system/application/views/file/client.php
parent2d31c619e6177e26b4f141b9cfd8ac27962d1a2f (diff)
move client/shell stuff to an own page; cleanup upload_form
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/application/views/file/client.php')
-rw-r--r--system/application/views/file/client.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/application/views/file/client.php b/system/application/views/file/client.php
new file mode 100644
index 000000000..d9470a216
--- /dev/null
+++ b/system/application/views/file/client.php
@@ -0,0 +1,20 @@
+<p><b>Shell:</b></p>
+<pre>
+curl -n -F "content=&lt;-" <?php echo base_url(); ?> &lt; file (not binary safe)
+cat file | curl -n -F "content=&lt;-" <?php echo base_url(); ?> (not binary safe)
+curl -n -F "file=@/home/user/foo" <?php echo base_url(); ?> (binary safe)
+</pre>
+<p><b>Client:</b><br />
+<p>Development (git): <a href="http://git.server-speed.net/users/flo/fb/">http://git.server-speed.net/users/flo/fb/</a><br />
+Latest release: <a href="<?php echo $client_link; ?>"><?php echo $client_link; ?></a>.<br />
+GPG sigs, older versions: <a href="<?php echo $client_link_dir; ?>"><?php echo $client_link_dir; ?></a>
+</p>
+<p>If you want to use authentication (needed for deleting) add the following to your ~/.netrc:</p>
+<pre>
+machine paste.xinu.at password my_secret_password
+</pre>
+<p><b>Packages:</b><br />
+Arch Linux: pacman -S fb-client<br />
+Debian: <a href="<?php echo $client_link_deb; ?>"><?php echo $client_link_deb; ?></a><br />
+Slackware: <a href="<?php echo $client_link_slackware; ?>"><?php echo $client_link_slackware; ?></a></p>
+