Changes To Manual

Changes to "Manual" between 2014-02-06 22:47:29 and 2014-02-07 20:41:56

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































39
40
41
42
43
44
45
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64

65
66
67
68
69
70
71

72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109







-
+

+
+
+
+
+
+
-
+

+
-
+
+

+
+
-
+

+
+
+
+
+
+
+
+
+












+
+
+
+
+
+
+
+
+
+
+
-
+


+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+







filed - serve files over HTTP
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>


<B>filed</B>

[<B>-h</B>]
[{<B>-h</B>|<B>--help</B>}]

[{<B>-b</B>|<B>--bind</B>}

<I>address</I>]

[{<B>-p</B>|<B>--port</B>}

[<B>-p&nbsp;port</B>]
<I>port</I>]

[{<B>-t</B>|<B>--threads</B>}
[<B>-t&nbsp;counts</B>]

<I>count</I>]

[{<B>-c</B>|<B>--cache</B>}

[<B>-c&nbsp;entries</B>]
<I>entries</I>]

[{<B>-u</B>|<B>--user</B>}

<I>user</I>]

[{<B>-r</B>|<B>--root</B>}

<I>directory</I>]

<P>

<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>

<I>FILED</I>

serves files over HTTP as minimally as possible.  Only static files (i.e., files that never change or are replaced) are supported.
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>

<DL COMPACT>
<DT><B>-h (or --help)</B>

<DD>
Prints detailed usage information
<P>
<DT><B>-b (or --bind)</B>

<DD>
Specifies the address to listen for incoming HTTP
requests on.
<P>
<DT><B>-p</B>
<DT><B>-p (or --port)</B>

<DD>
Specifies the TCP port number to listen for incoming HTTP
requests on.
<P>
<DT><B>-t (or --threads)</B>
port

<DD>
Specifies the number of worker threads to create. Each
worker thread can service one concurrent HTTP session.
Thus the number of threads created will determine how
many simultaneous transfers will be possible.
<P>
<DT><B>-c (or --cache)</B>

<DD>
Specifies the number of file information cache entries
to allocate.  Each cache entry holds file information as
well as an open file descriptor to the file, so resource
limits (i.e., ulimit) should be considered.  This should
be a prime number for ideal use with the lookup method.
<P>
<DT><B>-u (or --user)</B>

<DD>
Specifies the user to switch user IDs to before servicing
requests.  The default is not change user IDs.
<P>
<DT><B>-r (or --root)</B>

<DD>
Specifies the directory to act as the root directory for
the file server.  If this option is specified, <A HREF="../man2/chroot.2.html">chroot</A>(2)
is called.  The default is not change root directories,
that is, the &quot;/&quot; directory is shared out.  This will
likely be a security issue, so this option should always
be used.
<P>
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHOR</H2>


Roy Keene