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