annotate docs/sample.gftp/gftprc @ 222:007145d7d975

2003-7-11 Brian Masney <masneyb@gftp.org> * lib/protocols.c (gftp_calc_kbs) - only call gettimeofday() at the end only if we are throttling this connection * lib/cache.c lib/options.h docs/sample.gftp/gftprc - added cache_ttl option to determine the amount of time that cache entries will stay around * docs/gftp.xml docs/legal.xml docs/figures/* - documentation from Alexander Kirillov <kirillov@math.sunysb.edu> * docs/website - files for generating my main website. They aren't pretty, but hey it works. I'm mainly putting these in CVS just for backup purposes.
author masneyb
date Sun, 13 Jul 2003 12:38:35 +0000
parents b9584a877daf
children f2bf216a8091
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
218
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
1 # Config file for gFTP. Copyright (C) 1998-2003 Brian Masney
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
2 # <masneyb@gftp.org>. Warning: Any comments that you add to this file WILL be
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
3 # overwritten. If a entry has a (*) in it's comment, you can't change it
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
4 # inside gFTP
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
5
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
6 # The default program used to view files. If this is blank, the internal file
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
7 # viewer will be used
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
8 view_program=
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
9
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
10 # The default program used to edit files.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
11 edit_program=
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
12
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
13 # The default directory gFTP will go to on startup
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
14 startup_directory=
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
15
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
16 # The maximum size of the log window in bytes for the GTK+ port
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
17 max_log_window_size=5000
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
18
218
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
19 # This is a comma separated list of charsets to try to convert the remote
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
20 # messages to the current locale
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
21 remote_charsets=
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
22
222
007145d7d975 2003-7-11 Brian Masney <masneyb@gftp.org>
masneyb
parents: 219
diff changeset
23 # The number of seconds to keep cache entries before they expire.
007145d7d975 2003-7-11 Brian Masney <masneyb@gftp.org>
masneyb
parents: 219
diff changeset
24 cache_ttl=3600
007145d7d975 2003-7-11 Brian Masney <masneyb@gftp.org>
masneyb
parents: 219
diff changeset
25
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
26 # Append new file transfers onto existing ones
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
27 append_transfers=1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
28
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
29 # Do only one transfer at a time?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
30 one_transfer=1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
31
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
32 # Overwrite files by default or set to resume file transfers
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
33 overwrite_default=0
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
34
218
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
35 # Preserve file permissions of transfered files
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
36 preserve_permissions=1
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
37
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
38 # Refresh the listbox after each file is transfered
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
39 refresh_files=0
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
40
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
41 # Put the directories first then the files
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
42 sort_dirs_first=1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
43
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
44 # Show hidden files in the listboxes
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
45 show_hidden_files=1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
46
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
47 # The timeout waiting for network input/output. This is NOT an idle timeout.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
48 network_timeout=120
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
49
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
50 # The number of auto-retries to do. Set this to 0 to retry indefinately
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
51 retries=3
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
52
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
53 # The number of seconds to wait between retries
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
54 sleep_time=30
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
55
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
56 # The maximum KB/s a file transfer can get. (Set to 0 to disable)
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
57 maxkbs=0.00
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
58
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
59 # This specifies the default protocol to use
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
60 default_protocol=FTP
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
61
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
62 # This defines what will happen when you double click a file in the file
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
63 # listboxes. 0=View file 1=Edit file 2=Transfer file
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
64 list_dblclk_action=2
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
65
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
66 # The default width of the local files listbox
218
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
67 listbox_local_width=318
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
68
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
69 # The default width of the remote files listbox
218
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
70 listbox_remote_width=320
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
71
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
72 # The default height of the local/remote files listboxes
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
73 listbox_file_height=265
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
74
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
75 # The default height of the transfer listbox
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
76 transfer_height=80
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
77
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
78 # The default height of the logging window
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
79 log_height=105
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
80
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
81 # The width of the filename column in the transfer window. Set this to 0 to
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
82 # have this column automagically resize.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
83 file_trans_column=100
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
84
218
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
85 # The default column to sort by
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
86 local_sortcol=file
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
87
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
88 # Sort ascending or descending
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
89 local_sortasds=ascending
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
90
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
91 # The default column to sort by
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
92 remote_sortcol=file
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
93
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
94 # Sort ascending or descending
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
95 remote_sortasds=ascending
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
96
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
97 # The width of the filename column in the file listboxes. Set this to 0 to
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
98 # have this column automagically resize. Set this to -1 to disable this column
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
99 local_file_width=100
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
100
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
101 # The width of the size column in the file listboxes. Set this to 0 to have
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
102 # this column automagically resize. Set this to -1 to disable this column
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
103 local_size_width=85
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
104
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
105 # The width of the user column in the file listboxes. Set this to 0 to have
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
106 # this column automagically resize. Set this to -1 to disable this column
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
107 local_user_width=75
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
108
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
109 # The width of the group column in the file listboxes. Set this to 0 to have
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
110 # this column automagically resize. Set this to -1 to disable this column
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
111 local_group_width=76
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
112
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
113 # The width of the date column in the file listboxes. Set this to 0 to have
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
114 # this column automagically resize. Set this to -1 to disable this column
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
115 local_date_width=120
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
116
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
117 # The width of the attribs column in the file listboxes. Set this to 0 to have
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
118 # this column automagically resize. Set this to -1 to disable this column
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
119 local_attribs_width=75
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
120
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
121 # The width of the filename column in the file listboxes. Set this to 0 to
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
122 # have this column automagically resize. Set this to -1 to disable this column
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
123 remote_file_width=100
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
124
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
125 # The width of the size column in the file listboxes. Set this to 0 to have
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
126 # this column automagically resize. Set this to -1 to disable this column
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
127 remote_size_width=85
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
128
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
129 # The width of the user column in the file listboxes. Set this to 0 to have
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
130 # this column automagically resize. Set this to -1 to disable this column
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
131 remote_user_width=75
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
132
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
133 # The width of the group column in the file listboxes. Set this to 0 to have
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
134 # this column automagically resize. Set this to -1 to disable this column
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
135 remote_group_width=76
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
136
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
137 # The width of the date column in the file listboxes. Set this to 0 to have
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
138 # this column automagically resize. Set this to -1 to disable this column
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
139 remote_date_width=120
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
140
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
141 # The width of the attribs column in the file listboxes. Set this to 0 to have
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
142 # this column automagically resize. Set this to -1 to disable this column
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
143 remote_attribs_width=75
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
144
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
145 # The color of the commands that are sent to the server
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
146 send_color=0:8600:0
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
147
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
148 # The color of the commands that are received from the server
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
149 recv_color=0:0:ffff
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
150
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
151 # The color of the error messages
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
152 error_color=ffff:0:0
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
153
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
154 # The color of the rest of the log messages
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
155 misc_color=a000:8d00:4600
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
156
218
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
157 # This is the password that will be used whenever you log into a remote FTP
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
158 # server as anonymous
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
159 email=
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
160
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
161 # Firewall hostname
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
162 ftp_proxy_host=
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
163
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
164 # Port to connect to on the firewall
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
165 ftp_proxy_port=21
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
166
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
167 # Your firewall username
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
168 ftp_proxy_username=
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
169
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
170 # Your firewall password
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
171 ftp_proxy_password=
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
172
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
173 # Your firewall account (optional)
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
174 ftp_proxy_account=
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
175
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
176 # This specifies how your proxy server expects us to log in. You can specify a
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
177 # 2 character replacement string prefixed by a % that will be replaced with
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
178 # the proper data. The first character can be either p for proxy or h for the
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
179 # host of the FTP server. The second character can be u (user), p (pass), h
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
180 # (host), o (port) or a (account). For example, to specify the proxy user, you
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
181 # can you type in %pu
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
182 proxy_config=
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
183
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
184 # If this is enabled, then the remote FTP server will open up a port for the
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
185 # data connection. If you are behind a firewall, you will need to enable this.
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
186 # Generally, it is a good idea to keep this enabled unless you are connecting
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
187 # to an older FTP server that doesn't support this. If this is disabled, then
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
188 # gFTP will open up a port on the client side and the remote server will
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
189 # attempt to connect to it.
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
190 passive_transfer=1
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
191
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
192 # The remote FTP server will attempt to resolve symlinks in the directory
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
193 # listings. Generally, this is a good idea to leave enabled. The only time you
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
194 # will want to disable this is if the remote FTP server doesn't support the -L
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
195 # option to LIST
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
196 resolve_symlinks=1
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
197
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
198 # If you are transfering a text file from Windows to UNIX box or vice versa,
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
199 # then you should enable this. Each system represents newlines differently for
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
200 # text files. If you are transfering from UNIX to UNIX, then it is safe to
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
201 # leave this off. If you are downloading binary data, you will want to disable
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
202 # this.
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
203 ascii_transfers=0
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
204
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
205 # Firewall hostname
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
206 http_proxy_host=
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
207
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
208 # Port to connect to on the firewall
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
209 http_proxy_port=80
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
210
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
211 # Your firewall username
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
212 http_proxy_username=
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
213
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
214 # Your firewall password
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
215 http_proxy_password=
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
216
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
217 # Do you want to use HTTP/1.1 or HTTP/1.0
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
218 use_http11=1
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
219
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
220 # SSL entropy file
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
221 entropy_source=/dev/urandom
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
222
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
223 # The maximum number of bytes to seed the SSL engine with
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
224 entropy_len=1024
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
225
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
226 # The path to the SSH executable
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
227 ssh_prog_name=
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
228
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
229 # Extra parameters to pass to the SSH program
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
230 ssh_extra_params=
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
231
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
232 # Default remote SSH2 sftp-server path
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
233 ssh2_sftp_path=
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
234
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
235 # Require a username/password for SSH connections
219
b9584a877daf 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 218
diff changeset
236 ssh_need_userpass=1
218
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
237
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
238 # Use the ssh-askpass utility to supply the remote password
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
239 ssh_use_askpass=0
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
240
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
241 # Call ssh with the -s sftp flag. This is helpful because you won't have to
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
242 # know the remote path to the remote sftp-server
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
243 sshv2_use_sftp_subsys=0
de6a2e8e51cb 2003-7-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 143
diff changeset
244
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
245 # This section specifies which hosts are on the local subnet and won't need to
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
246 # go out the proxy server (if available). Syntax: dont_use_proxy=.domain or
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
247 # dont_use_proxy=network number/netmask
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
248
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
249 # ext=file extenstion:XPM file:Ascii or Binary (A or B):viewer program. Note:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
250 # All arguments except the file extension are optional
2
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
251 ext=.pdf::B:xpdf
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
252 ext=.rpm:rpm.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
253 ext=.deb:deb.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
254 ext=.diff:diff.xpm: :
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
255 ext=.htm:world.xpm:A:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
256 ext=.html:world.xpm:A:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
257 ext=.xcf:img.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
258 ext=.psd:img.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
259 ext=.xpm:img.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
260 ext=.bmp:img.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
261 ext=.tif:img.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
262 ext=.tiff:img.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
263 ext=.png:img.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
264 ext=.jpg:img.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
265 ext=.mp3:sound.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
266 ext=.mid:sound.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
267 ext=.wav:sound.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
268 ext=.bz2:tar.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
269 ext=.gz:tar.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
270 ext=.1:man.xpm:B:xman
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
271 ext=.2:man.xpm:B:xman
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
272 ext=.3:man.xpm:B:xman
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
273 ext=.4:man.xpm:B:xman
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
274 ext=.5:man.xpm:B:xman
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
275 ext=.6:man.xpm:B:xman
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
276 ext=.7:man.xpm:B:xman
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
277 ext=.8:man.xpm:B:xman
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
278 ext=.tar:tar.xpm:B:
a171df6764a7 * Fixed crash if you was already transfering a file, and you started another
masneyb
parents: 1
diff changeset
279 ext=.tgz:tar.xpm:B: