Mercurial > gftp.yaz
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 |
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 | |
47 # The timeout waiting for network input/output. This is NOT an idle timeout. | |
48 network_timeout=120 | |
49 | |
50 # The number of auto-retries to do. Set this to 0 to retry indefinately | |
51 retries=3 | |
52 | |
53 # The number of seconds to wait between retries | |
54 sleep_time=30 | |
55 | |
56 # The maximum KB/s a file transfer can get. (Set to 0 to disable) | |
57 maxkbs=0.00 | |
58 | |
59 # This specifies the default protocol to use | |
60 default_protocol=FTP | |
61 | |
62 # This defines what will happen when you double click a file in the file | |
63 # listboxes. 0=View file 1=Edit file 2=Transfer file | |
64 list_dblclk_action=2 | |
65 | |
66 # The default width of the local files listbox | |
218 | 67 listbox_local_width=318 |
1 | 68 |
69 # The default width of the remote files listbox | |
218 | 70 listbox_remote_width=320 |
1 | 71 |
72 # The default height of the local/remote files listboxes | |
73 listbox_file_height=265 | |
74 | |
75 # The default height of the transfer listbox | |
76 transfer_height=80 | |
77 | |
78 # The default height of the logging window | |
79 log_height=105 | |
80 | |
81 # The width of the filename column in the transfer window. Set this to 0 to | |
82 # have this column automagically resize. | |
83 file_trans_column=100 | |
84 | |
218 | 85 # The default column to sort by |
86 local_sortcol=file | |
87 | |
88 # Sort ascending or descending | |
89 local_sortasds=ascending | |
90 | |
91 # The default column to sort by | |
92 remote_sortcol=file | |
93 | |
94 # Sort ascending or descending | |
95 remote_sortasds=ascending | |
96 | |
1 | 97 # The width of the filename column in the file listboxes. Set this to 0 to |
98 # have this column automagically resize. Set this to -1 to disable this column | |
99 local_file_width=100 | |
100 | |
101 # The width of the size column in the file listboxes. Set this to 0 to have | |
102 # this column automagically resize. Set this to -1 to disable this column | |
103 local_size_width=85 | |
104 | |
105 # The width of the user column in the file listboxes. Set this to 0 to have | |
106 # this column automagically resize. Set this to -1 to disable this column | |
107 local_user_width=75 | |
108 | |
109 # The width of the group column in the file listboxes. Set this to 0 to have | |
110 # this column automagically resize. Set this to -1 to disable this column | |
111 local_group_width=76 | |
112 | |
113 # The width of the date column in the file listboxes. Set this to 0 to have | |
114 # this column automagically resize. Set this to -1 to disable this column | |
115 local_date_width=120 | |
116 | |
117 # The width of the attribs column in the file listboxes. Set this to 0 to have | |
118 # this column automagically resize. Set this to -1 to disable this column | |
119 local_attribs_width=75 | |
120 | |
121 # The width of the filename column in the file listboxes. Set this to 0 to | |
122 # have this column automagically resize. Set this to -1 to disable this column | |
123 remote_file_width=100 | |
124 | |
125 # The width of the size column in the file listboxes. Set this to 0 to have | |
126 # this column automagically resize. Set this to -1 to disable this column | |
127 remote_size_width=85 | |
128 | |
129 # The width of the user column in the file listboxes. Set this to 0 to have | |
130 # this column automagically resize. Set this to -1 to disable this column | |
131 remote_user_width=75 | |
132 | |
133 # The width of the group column in the file listboxes. Set this to 0 to have | |
134 # this column automagically resize. Set this to -1 to disable this column | |
135 remote_group_width=76 | |
136 | |
137 # The width of the date 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 remote_date_width=120 | |
140 | |
141 # The width of the attribs 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 remote_attribs_width=75 | |
144 | |
145 # The color of the commands that are sent to the server | |
146 send_color=0:8600:0 | |
147 | |
148 # The color of the commands that are received from the server | |
149 recv_color=0:0:ffff | |
150 | |
151 # The color of the error messages | |
152 error_color=ffff:0:0 | |
153 | |
154 # The color of the rest of the log messages | |
155 misc_color=a000:8d00:4600 | |
156 | |
218 | 157 # This is the password that will be used whenever you log into a remote FTP |
158 # server as anonymous | |
159 email= | |
160 | |
161 # Firewall hostname | |
162 ftp_proxy_host= | |
163 | |
164 # Port to connect to on the firewall | |
165 ftp_proxy_port=21 | |
166 | |
167 # Your firewall username | |
168 ftp_proxy_username= | |
169 | |
170 # Your firewall password | |
171 ftp_proxy_password= | |
172 | |
173 # Your firewall account (optional) | |
174 ftp_proxy_account= | |
175 | |
176 # This specifies how your proxy server expects us to log in. You can specify a | |
177 # 2 character replacement string prefixed by a % that will be replaced with | |
178 # the proper data. The first character can be either p for proxy or h for the | |
179 # host of the FTP server. The second character can be u (user), p (pass), h | |
180 # (host), o (port) or a (account). For example, to specify the proxy user, you | |
181 # can you type in %pu | |
182 proxy_config= | |
183 | |
184 # If this is enabled, then the remote FTP server will open up a port for the | |
185 # data connection. If you are behind a firewall, you will need to enable this. | |
186 # Generally, it is a good idea to keep this enabled unless you are connecting | |
187 # to an older FTP server that doesn't support this. If this is disabled, then | |
188 # gFTP will open up a port on the client side and the remote server will | |
189 # attempt to connect to it. | |
190 passive_transfer=1 | |
191 | |
192 # The remote FTP server will attempt to resolve symlinks in the directory | |
193 # listings. Generally, this is a good idea to leave enabled. The only time you | |
194 # will want to disable this is if the remote FTP server doesn't support the -L | |
195 # option to LIST | |
196 resolve_symlinks=1 | |
197 | |
198 # If you are transfering a text file from Windows to UNIX box or vice versa, | |
199 # then you should enable this. Each system represents newlines differently for | |
200 # text files. If you are transfering from UNIX to UNIX, then it is safe to | |
201 # leave this off. If you are downloading binary data, you will want to disable | |
202 # this. | |
203 ascii_transfers=0 | |
204 | |
205 # Firewall hostname | |
206 http_proxy_host= | |
207 | |
208 # Port to connect to on the firewall | |
209 http_proxy_port=80 | |
210 | |
211 # Your firewall username | |
212 http_proxy_username= | |
213 | |
214 # Your firewall password | |
215 http_proxy_password= | |
216 | |
217 # Do you want to use HTTP/1.1 or HTTP/1.0 | |
218 use_http11=1 | |
219 | |
220 # SSL entropy file | |
221 entropy_source=/dev/urandom | |
222 | |
223 # The maximum number of bytes to seed the SSL engine with | |
224 entropy_len=1024 | |
225 | |
226 # The path to the SSH executable | |
227 ssh_prog_name= | |
228 | |
229 # Extra parameters to pass to the SSH program | |
230 ssh_extra_params= | |
231 | |
232 # Default remote SSH2 sftp-server path | |
233 ssh2_sftp_path= | |
234 | |
235 # Require a username/password for SSH connections | |
219 | 236 ssh_need_userpass=1 |
218 | 237 |
238 # Use the ssh-askpass utility to supply the remote password | |
239 ssh_use_askpass=0 | |
240 | |
241 # Call ssh with the -s sftp flag. This is helpful because you won't have to | |
242 # know the remote path to the remote sftp-server | |
243 sshv2_use_sftp_subsys=0 | |
244 | |
1 | 245 # This section specifies which hosts are on the local subnet and won't need to |
246 # go out the proxy server (if available). Syntax: dont_use_proxy=.domain or | |
247 # dont_use_proxy=network number/netmask | |
248 | |
249 # ext=file extenstion:XPM file:Ascii or Binary (A or B):viewer program. Note: | |
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: |