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