diff options
author | Florian Pritz <bluewind@server-speed.net> | 2011-01-28 22:51:06 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@server-speed.net> | 2011-01-28 22:58:52 +0100 |
commit | ce2b69675075444c9e40b72bcdd42ab7edbbe633 (patch) | |
tree | 2932f13b0db14fe53dc0622d888318db638a017f /application/views/file/client.php | |
parent | b6b8a6587c399bfd89e13e92ce04ee8486688e6e (diff) |
update to CI 2.0
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'application/views/file/client.php')
-rw-r--r-- | application/views/file/client.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/application/views/file/client.php b/application/views/file/client.php new file mode 100644 index 000000000..0ebc20791 --- /dev/null +++ b/application/views/file/client.php @@ -0,0 +1,23 @@ +<p><b>Shell:</b></p> +<pre> +<?php if(false): ?> +>curl -n -F "content=<-" <?php echo site_url(); ?> < file (not binary safe) +cat file | curl -n -F "content=<-" <?php echo site_url(); ?> (not binary safe) +<?php endif; ?> +curl -n -F "file=@/home/user/foo" <?php echo site_url(); ?> (binary safe) +cat file | curl -n -F "file=@-;filename=stdin" <?php echo site_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> + |