summaryrefslogtreecommitdiffstats
path: root/application/views/file/client.php
blob: ac9aeddb2cea7d5d45c45dec4c904b4b801d6751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<h1>Client</h1>

<p>
	Development (git): <?php echo anchor("http://git.server-speed.net/users/flo/fb/"); ?><br />
	Latest release: <?php echo $client_link ? anchor($client_link) : "unknown"; ?><br />
	GPG sigs, older versions: <a href="<?php echo $client_link_dir; ?>"><?php echo $client_link_dir; ?></a>
</p>

<p>To authenticate add the following to your ~/.netrc:</p>

<pre>
machine <?php echo $domain; ?> login my_username password my_secret_password
</pre>

<?php /*
<p>
	If you are using fb-client &ge;1.1 you can also use
	<code>~/.config/fb-client/config</code>. Please refer to
	<code>man 1 fb</code> for further details.
</p>
 */
?>

<h2>Packages</h2>

<p>
	Arch Linux: pacman -S fb-client<br />
	Debian: <?php echo anchor($client_link_deb); ?><br />
	Slackware: <?php echo anchor($client_link_slackware); ?>
</p>

<h1>Shell</h1>

<pre>
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>