-
Notifications
You must be signed in to change notification settings - Fork 0
/
sfn.1
110 lines (106 loc) · 2.41 KB
/
sfn.1
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
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "SFN" "1" "July 2013" "" ""
.
.SH "NAME"
\fBsfn\fR \- send files over network
.
.SH "SYNOPSIS"
\fBsfn\fR \fB\-\-listen\fR [options] [files to send]
.
.br
\fBsfn\fR \fB\-\-connect\fR <address> [options] [files to send]
.
.P
\fB\-l\fR and \fB\-s\fR are aliases for \fB\-\-listen\fR, \fB\-c\fR is an alias for \fB\-\-connect\fR\.
.
.SH "DESCRIPTION"
sfn is an utility to send files over network using direct TCP connection\. After launched, sfn establishes a connection, sends all the files from command line (if any), receives all the files from another side and then exits\.
.
.SH "OPTIONS"
.
.TP
\fB\-\-version\fR, \fB\-v\fR
Show version and exit\.
.
.TP
\fB\-\-help\fR, \fB\-h\fR
Show help and exit\.
.
.TP
\fB\-\-port\fR, \fB\-p\fR
Use specified port\. Defaults to 3214\.
.
.TP
\fB\-\-prefix\fR, \fB\-f\fR
Add prefix to received files\' path and name\. For example: \fB/home/user/downloads/\fR, \fBsfn\-\fR, \fB/etc/file\-\fR\.
.
.TP
\fB\-\-no\-external\-ip\fR, \fB\-n\fR
Don\'t perform external IP detection and reverse DNS lookup\.
.
.TP
\fB\-\-zenity\fR, \fB\-z\fR
Call zenity to select files using standard GTK dialog\.
.
.TP
\fB\-\-no\-integrity\-check\fR, \fB\-e\fR
Disable integrity check after transfer\. This option was added for compatibility with older versions of sfn\.
.
.SH "EXAMPLES"
Listen on port 3333, place all received files into current workdir:
.
.IP "" 4
.
.nf
$ sfn \-s \-p 3333
.
.fi
.
.IP "" 0
.
.P
Connect to server \fB55\.66\.77\.88\fR, send a file named \fBnumbers\.txt\fR and place received ones into \fB/tmp/sfn\fR:
.
.IP "" 4
.
.nf
$ sfn \-c 55\.66\.77\.88 \-f /tmp/sfn/ numbers\.txt
.
.fi
.
.IP "" 0
.
.P
Please note that trailing slash in \fB/tmp/sfn/\fR is mandatory because it is simply a prefix\.
.
.P
Listen on default port, send some files and don\'t try to determine our external IP:
.
.IP "" 4
.
.nf
$ sfn \-s \-n for\-james\-*\.txt
.
.fi
.
.IP "" 0
.
.P
Connect to \fBmyserver\.dyndns\.org\fR, receive some files, prefix their names with \fBsfn\-received\-\fR and place them into \fB~/Downloads\fR:
.
.IP "" 4
.
.nf
$ sfn \-c myserver\.dyndns\.org \-f ~/Downloads/sfn\-received\-
.
.fi
.
.IP "" 0
.
.SH "BUGS"
If you have found a bug, create an issue in the project\'s issue tracker: \fIhttps://github\.com/m1kc/sfn/issues\fR or simply drop me a note on email\. Thanks\.
.
.SH "COPYRIGHT"
Copyright (c) m1kc <\fIm1kc@yandex\.ru\fR>, 2013