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 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283
|
.\" Personal
.TH SENDFILE 1
.UC L
.SH NAME
sendfile - send file(s) via Internet
.SH SYNOPSIS
.B sendfile
[
.B \-stMgduzvolSPiqQV
]
[
.B \-c=" comment"
]
[
.B \-C=program
]
[
.B \-ps=[my_ID]
]
[
.B \-pe=[to_user]
]
[
.B \-m LIMIT
]
.I file
[...]
.I user[@host]
.PP
.B sendfile
.BI \-a=" archive"
[
.B \-uviqQ
]
[
.B \-c=" comment"
]
[
.B \-C=program
]
[
.B \-ps[=my_ID]
]
[
.B \-pe[=to_user]
]
.I file_or_directory
[...]
.I recipient
.SH DESCRIPTION
.B sendfile
sends files to the specified recipient.
.PP
On the receiving site there must be a SAFT-server
(Simple Asynchronous File Transfer) installed like
.B \%sendfiled
which stores incoming files into the recipients spool-directory.
.PP
SAFT knows about 4 file types:
.TP 8
.B BINARY
Byte-stream file which will not be modified.
.TP 8
.B SOURCE
Record oriented program source file. Only EOL will be translated.
.TP 8
.B TEXT
Human readable text files. EOL and the character set (like German umlauts)
will be translated.
.TP 8
.B MIME
Multipurpose Internet Mail Extension file as defined by RFC 2045-2049.
.PP
Files can be sent compressed or pgp-encrypted and/or pgp-signed.
As an extension to SAFT,
.B sendfile
is able to send multiple binary files in one archive file.
.PP
Default mode for
.B sendfile
is sending compressed binary files. Compression will be disabled for hosts
which are inside your LAN and for files which cannot be compressed.
.PP
With the helper program
.B sfconf
you can easily configure sendfile.
.SH ARGUMENTS
You have to specify at least one file name and the recipient's address.
An address can be specified as:
.TP 4
.B user
a local user or a sendfile alias (see below), e.g.: framstag
.TP
.B user@host
an user on a remote host, e.g.: framstag@bofh.belwue.de
.TP
.B saft://host/user
like above, but in URL-syntax, e.g.: saft://bofh.belwue.de/framstag
.TP
.B saft://host:port/user
like above, but with alternate SAFT-port, e.g.: saft://bofh.belwue.de:4870/framstag
.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,
sendfile will try to use the adresses in the order they are returned by the resolver.
.TP
.B -s
Send in source mode (not needed if sending to a unix host).
.TP
.B -t
Send in text mode (not needed if sending to a unix host).
.TP
.B -M
Send MIME file (must be external composed before!).
.TP
.B -g
Send in guessed mode: sendfile tries to guess the correct mode (source,
text or binary). This will not work in every case and not on all platforms!
.TP
.B -i
Print more transaction information.
.TP
.B -v
Verbose mode: show SAFT protocol messages.
.TP
.B -V
Show version information and exit.
.TP
.B -u
Send uncompressed.
.TP
.B -z
Send compressed.
.TP
.B -a
Send files or whole directories as one archive (binary mode only).
You have to specify an archive name.
.TP
.B -d
Delete previous sent file. No wildcards allowed.
.TP
.B -o
Overwrite already sent file(s) with same name.
.TP
.B -P
Read file from stdin. You must specify a file name, too.
.TP
.B -S
Spool file into outgoing queue for later processing. You must run a
sendfiled which supports this mode.
.TP
.B -l
List files in the outgoing spool.
.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 -c
Add a short comment to a single file.
.TP
.B -C
Force usage of specified compression program (gzip or bzip2).
.TP
.B -pc
Encrypt file(s) with pgp (IDEA symmetric).
.TP
.B -pe
Encrypt file(s) with pgp (public key).
.TP
.B -ps
Add pgp signature(s) to the file(s).
.TP
.B -m
Limit the maximum thruput (in KB/s).
.SH ARGUMENTS
.TP 8
.I user
Recipient user name. Can be an alias, too. See below.
.TP
.I file
File name to be sent. Only when using the
.BI \-a=" archive"
option you may specify any file or directory.
.SH EXAMPLES
sendfile -t project.txt chief@bigvax.somewhere.net
.br
.br
sendfile -a=jokes -c 'from Gary Larson' *.gif framstag
.SH FILES
.TP 6
.I /etc/sendfile.deny
Users which are not allowed to receive files or messages (set by root).
.TP
.I /var/spool/sendfile/$USER/config/config
Your configuration file. Valid entries are (the | symbol means " or"):
.ES
bell = on|off
.EE
add a bell when a file or message arrives.
.ES
deleting = on|off
.EE
allow remote users to delete their files after transmission
.ES
msglog = on|off
.EE
log incoming messages in /var/spool/sendfile/$USER/msglog
.ES
notification = none|both|mail [user@host]|message [user@host]
.EE
send a notification when a file has been arrived via mail or message or
none or both mechanism.
.ES
forward = user@host
.EE
set a forward address.
.TP
.I /var/spool/sendfile/$USER/config/restrictions
List of addresses from where you don't want messages or files. The format
is:
.ES
user@host [mfb]
.EE
m stands for messages, f for files and b for both. Wildcards * and ? are
allowed. Examples:
.ES
gates@microsoft.com b
*aol.com m
.EE
You may also specify the addresses in URL-syntax.
.TP
.I /var/spool/sendfile/$USER/config/aliases
The sendfile alias file. Format:
.ES
alias address [sendfile-options]
.EE
Example:
.ES
chief grmblfz@bigvax.somewhere.net
ccc chaoscomputerclub@saft.ccc.de -pe -ps
.EE
You may also specify the addresses in URL-syntax.
.SH SEE ALSO
.BR sfconf
.BR receive (1)
.BR sendmsg (1)
.BR fetchfile (1)
.SH AUTHOR
Ulli Horlacher - framstag@rus.uni-stuttgart.de
|