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