1 d8355ed6 2021-12-16 op .\" Copyright (c) 2021 Omar Polo <op@omarpolo.com>
3 d8355ed6 2021-12-16 op .\" Permission to use, copy, modify, and distribute this software for any
4 d8355ed6 2021-12-16 op .\" purpose with or without fee is hereby granted, provided that the above
5 d8355ed6 2021-12-16 op .\" copyright notice and this permission notice appear in all copies.
7 d8355ed6 2021-12-16 op .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 d8355ed6 2021-12-16 op .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 d8355ed6 2021-12-16 op .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 d8355ed6 2021-12-16 op .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 d8355ed6 2021-12-16 op .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 d8355ed6 2021-12-16 op .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 d8355ed6 2021-12-16 op .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 d8355ed6 2021-12-16 op .Dd $Mdocdate: December 16 2021 $
16 d8355ed6 2021-12-16 op .Dt KAMIREPL 1
20 d8355ed6 2021-12-16 op .Nd 9p repl client
24 d8355ed6 2021-12-16 op .Op Fl C Ar cert
25 d8355ed6 2021-12-16 op .Op Fl H Ar host
26 d8355ed6 2021-12-16 op .Op Fl K Ar key
27 d8355ed6 2021-12-16 op .Op Fl P Ar port
28 d8355ed6 2021-12-16 op .Sh DESCRIPTION
34 d8355ed6 2021-12-16 op The optinos are as follows:
35 d8355ed6 2021-12-16 op .Bl -tag -width tenletters
36 d8355ed6 2021-12-16 op .It Fl C Ar cert
37 d8355ed6 2021-12-16 op Path to the TLS client certificate to use.
39 d8355ed6 2021-12-16 op Use TLS for the connection.
43 d8355ed6 2021-12-16 op are mandatory if used.
44 d8355ed6 2021-12-16 op .It Fl H Ar host
45 d8355ed6 2021-12-16 op Hostname of the file server.
47 d8355ed6 2021-12-16 op Display usage and exit.
48 d8355ed6 2021-12-16 op .It Fl K Ar key
49 d8355ed6 2021-12-16 op Path to the TLS client certificate private key.
50 d8355ed6 2021-12-16 op .It Fl P Ar port
51 d8355ed6 2021-12-16 op Port number to connect to.
53 d8355ed6 2021-12-16 op Verbose logging.
56 d8355ed6 2021-12-16 op The interactive commands are
57 d8355ed6 2021-12-16 op .Bl -tag -width Ds
58 d8355ed6 2021-12-16 op .It Ic version Op Ar version-string
59 d8355ed6 2021-12-16 op .Ar version-string
63 d8355ed6 2021-12-16 op .It Ic attach Ar fid Ar uname Ar aname
64 d8355ed6 2021-12-16 op Request the file server to attach the file tree identified by
66 d8355ed6 2021-12-16 op to the specified
70 d8355ed6 2021-12-16 op is the identifier for the user.
71 d8355ed6 2021-12-16 op The afid used is implicitly NOFID.
72 d8355ed6 2021-12-16 op .It Ic clunk Ar fid
75 d8355ed6 2021-12-16 op .It Ic flush Ar oldtag
76 d8355ed6 2021-12-16 op Require the server to flush
78 d8355ed6 2021-12-16 op .It Ic walk Ar fid Ar newfid Ar wnames...
79 d8355ed6 2021-12-16 op Do a walk from
83 d8355ed6 2021-12-16 op component and associating the reached file to
85 d8355ed6 2021-12-16 op .It Ic open Ar fid Ar mode Op Ar flag
104 d8355ed6 2021-12-16 op to truncate the file or
106 d8355ed6 2021-12-16 op to remove the file upon
108 c7f145d4 2021-12-20 op .It Ic create Ar fid Ar name Ar perm Ar mode
109 c7f145d4 2021-12-20 op Create the file
111 c7f145d4 2021-12-20 op and open it with
116 c7f145d4 2021-12-20 op should be used to select the permissions of the file, but is currently
118 d8355ed6 2021-12-16 op .It Ic read Ar fid Ar offset Ar count
119 d8355ed6 2021-12-16 op Issue a read request for the given
121 d8355ed6 2021-12-16 op which must have been prepared for I/O with
128 c7f145d4 2021-12-20 op .It Ic write Ar fid Ar offset Ar content
135 c7f145d4 2021-12-20 op .It Ic remove Ar fid
136 c7f145d4 2021-12-20 op Delete the file identified by
138 c7f145d4 2021-12-20 op and close it.
139 c7f145d4 2021-12-20 op Even in case of error,
144 d8355ed6 2021-12-16 op .Xr kamiftp 1
151 d8355ed6 2021-12-16 op utility was written by
152 d8355ed6 2021-12-16 op .An Omar Polo Aq Mt op@omarpolo.com .