summaryrefslogtreecommitdiffstats
path: root/application/views/file_plaintext/client.php
blob: 0ab556df2a3345e5efc4108615aad8c8650587a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Shell (binary safe):
  curl -n -F "file=@/home/user/foo" <?php echo site_url("file/do_upload")."\n"; ?>
  cat file | curl -n -F "file=@-;filename=stdin" <?php echo site_url("file/do_upload")."\n"; ?>

Client:
Development (git): http://git.server-speed.net/users/flo/fb
Latest release: <?php echo $client_link."\n"; ?>
GPG sigs, older versions: <?php echo $client_link_dir."\n"; ?>

To authenticate add the following to your ~/.netrc:
  machine paste.xinu.at login my_username password my_secret_password