File: fetchfile.1

package info (click to toggle)
sendfile 2.1b.20080616-5.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,568 kB
  • sloc: ansic: 13,128; sh: 4,043; perl: 844; makefile: 145; java: 36; csh: 3
file content (146 lines) | stat: -rw-r--r-- 2,814 bytes parent folder | download | duplicates (7)
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
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
.\" Personal
.TH SENDFILE 1
.UC L

.SH NAME
fetchfile - fetch file(s) via O-SAFT protocol

.SH SYNOPSIS
.B fetchfile
[
.B \-46lakdPriqQvVI
]
[
.B \-f user
]
[
.B \-s [user@]server
]
[
.B \-C[wr]=conffile
]
.I filename

.B fetchfile
[
.B \-lakdPriqQvVI
]
[
.B \-f user
]
[
.B \-s [user@]server
]
[
.B \-C[wr]=conffile
]
.I -n filenumber

.SH DESCRIPTION
.B fetchfile
fetches files from a SAFT server to the local user spool.
.PP
In the SAFT server spool there must lay your sendfile public key to
identify yourself. This key can be generated by the
.I fetchfile -I
command and has to be transfered to the SAFT server at the very first time.
This prevents other people to steal your files.

.PP
You may list or fetch your files from the server. But remember,
they are stored first in your local sendfile spool. You have to call
.I receive
to really receive them to your current directory.

.SH OPTIONS
.TP 8
.B -4, -6
Explicitly force  IPv4 or IPv6 connections.  By default, the program will try to resolve the name given, and
choose the appropriate protocol automatically. If resolving a host name returns both IPv4  and  IPv6  addresses,
fetchfile will try to use the adresses in the order they are returned by the resolver.
.TP
.B -l
Only list the files on the server.
.TP
.B -a
Fetch all files.
.TP
.B -k
Keep files on server after fetching.
.TP
.B -d
Delete files without receiving.
.TP
.B -n
Specify the file number instead of the file name.
.TP
.B -r
Call receive automaticly afterwards.
.TP
.B -f user
Restrict file selection to this specifc user.
.TP
.B -V
Show version information and exit.
.TP
.B -v
Be verbose and show SAFT protocol messages.
.TP
.B -P
Send files to stdout directly.
.TP
.B -i
Ignore testing whether file has been already fetched.
.TP
.B -q
Quiet mode 1: print no transfer messages.
.TP
.B -Q
Quiet mode 2: print no transfer, information or warning messages.
.TP
.B -I
Initialize fetchfile and the pgp key pair.
.TP
.B -s [user@]host
Specify an alternate saft server and/or alternate user.
.TP
.B -Cr=conffile
Read configuration file "config" or "restrictions" from server.
.TP
.B -Cw=conffile
Write configuration file "config" or "restrictions" to server.

.SH ARGUMENTS
.TP 8
.I filename or filenumber
Specify the name of the file or its number (with option -n).

.SH EXAMPLES
fetchfile -l

.br
fetchfile -a

.br
fetchfile -Cr=config -s saft.belwue.de

.SH FILES
.TP 6
.I /var/spool/sendfile/$USER/
Your local spool directory.
.TP 
.I $HOME/.sfspool/
Your local private spool directory if /var/spool/sendfile/$USER/ does not
exist.
.TP 
.I config, restrictions
Your configuration files for the server. See sendfile(1) for a description.

.SH SEE ALSO
.BR receive (1),
.BR sendfile (1),
.BR fetchfile (7),
.BR sendfiled (8).

.SH AUTHOR
Ulli Horlacher  -  framstag@rus.uni-stuttgart.de