Mercurial > gftp.yaz
annotate docs/sample.gftp/gftprc @ 219:b9584a877daf
2003-7-9 Brian Masney <masneyb@gftp.org>
* lib/sshv2.c - if we are logging in to the server, and the message
size is too big from the server, assume that an error message follows
and log the ASCII text to the log window
* src/gtk/options_dialog.c - make sure the value is set properly for
the textcomboedt option types (the FTP proxy server type uses this)
* lib/rfc2068.c - HTTP proxy bug fixes. Also, moved rfc2068_connect()
call to rfc2068_send_command() and removed it from the now unneeded
places. Also, fix in call to HEAD command
* src/text/gftp-text.c - fixed NULL pointer deference in changing
directory
* docs/sample.gftp/gftprc - enable require SSH user/pass by default
author | masneyb |
---|---|
date | Wed, 09 Jul 2003 23:25:57 +0000 |
parents | de6a2e8e51cb |
children | 007145d7d975 |
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 | |
1 | 23 # Append new file transfers onto existing ones |
24 append_transfers=1 | |
25 | |
26 # Do only one transfer at a time? | |
27 one_transfer=1 | |
28 | |
29 # Overwrite files by default or set to resume file transfers | |
30 overwrite_default=0 | |
31 | |
218 | 32 # Preserve file permissions of transfered files |
33 preserve_permissions=1 | |
34 | |
1 | 35 # Refresh the listbox after each file is transfered |
36 refresh_files=0 | |
37 | |
38 # Put the directories first then the files | |
39 sort_dirs_first=1 | |
40 | |
41 # Show hidden files in the listboxes | |
42 show_hidden_files=1 | |
43 | |
44 # The timeout waiting for network input/output. This is NOT an idle timeout. | |
45 network_timeout=120 | |
46 | |
47 # The number of auto-retries to do. Set this to 0 to retry indefinately | |
48 retries=3 | |
49 | |
50 # The number of seconds to wait between retries | |
51 sleep_time=30 | |
52 | |
53 # The maximum KB/s a file transfer can get. (Set to 0 to disable) | |
54 maxkbs=0.00 | |
55 | |
56 # This specifies the default protocol to use | |
57 default_protocol=FTP | |
58 | |
59 # This defines what will happen when you double click a file in the file | |
60 # listboxes. 0=View file 1=Edit file 2=Transfer file | |
61 list_dblclk_action=2 | |
62 | |
63 # The default width of the local files listbox | |
218 | 64 listbox_local_width=318 |
1 | 65 |
66 # The default width of the remote files listbox | |
218 | 67 listbox_remote_width=320 |
1 | 68 |
69 # The default height of the local/remote files listboxes | |
70 listbox_file_height=265 | |
71 | |
72 # The default height of the transfer listbox | |
73 transfer_height=80 | |
74 | |
75 # The default height of the logging window | |
76 log_height=105 | |
77 | |
78 # The width of the filename column in the transfer window. Set this to 0 to | |
79 # have this column automagically resize. | |
80 file_trans_column=100 | |
81 | |
218 | 82 # The default column to sort by |
83 local_sortcol=file | |
84 | |
85 # Sort ascending or descending | |
86 local_sortasds=ascending | |
87 | |
88 # The default column to sort by | |
89 remote_sortcol=file | |
90 | |
91 # Sort ascending or descending | |
92 remote_sortasds=ascending | |
93 | |
1 | 94 # The width of the filename column in the file listboxes. Set this to 0 to |
95 # have this column automagically resize. Set this to -1 to disable this column | |
96 local_file_width=100 | |
97 | |
98 # The width of the size column in the file listboxes. Set this to 0 to have | |
99 # this column automagically resize. Set this to -1 to disable this column | |
100 local_size_width=85 | |
101 | |
102 # The width of the user column in the file listboxes. Set this to 0 to have | |
103 # this column automagically resize. Set this to -1 to disable this column | |
104 local_user_width=75 | |
105 | |
106 # The width of the group column in the file listboxes. Set this to 0 to have | |
107 # this column automagically resize. Set this to -1 to disable this column | |
108 local_group_width=76 | |
109 | |
110 # The width of the date 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_date_width=120 | |
113 | |
114 # The width of the attribs 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_attribs_width=75 | |
117 | |
118 # The width of the filename column in the file listboxes. Set this to 0 to | |
119 # have this column automagically resize. Set this to -1 to disable this column | |
120 remote_file_width=100 | |
121 | |
122 # The width of the size 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 remote_size_width=85 | |
125 | |
126 # The width of the user 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 remote_user_width=75 | |
129 | |
130 # The width of the group column in the file listboxes. Set this to 0 to have | |
131 # this column automagically resize. Set this to -1 to disable this column | |
132 remote_group_width=76 | |
133 | |
134 # The width of the date 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_date_width=120 | |
137 | |
138 # The width of the attribs 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_attribs_width=75 | |
141 | |
142 # The color of the commands that are sent to the server | |
143 send_color=0:8600:0 | |
144 | |
145 # The color of the commands that are received from the server | |
146 recv_color=0:0:ffff | |
147 | |
148 # The color of the error messages | |
149 error_color=ffff:0:0 | |
150 | |
151 # The color of the rest of the log messages | |
152 misc_color=a000:8d00:4600 | |
153 | |
218 | 154 # This is the password that will be used whenever you log into a remote FTP |
155 # server as anonymous | |
156 email= | |
157 | |
158 # Firewall hostname | |
159 ftp_proxy_host= | |
160 | |
161 # Port to connect to on the firewall | |
162 ftp_proxy_port=21 | |
163 | |
164 # Your firewall username | |
165 ftp_proxy_username= | |
166 | |
167 # Your firewall password | |
168 ftp_proxy_password= | |
169 | |
170 # Your firewall account (optional) | |
171 ftp_proxy_account= | |
172 | |
173 # This specifies how your proxy server expects us to log in. You can specify a | |
174 # 2 character replacement string prefixed by a % that will be replaced with | |
175 # the proper data. The first character can be either p for proxy or h for the | |
176 # host of the FTP server. The second character can be u (user), p (pass), h | |
177 # (host), o (port) or a (account). For example, to specify the proxy user, you | |
178 # can you type in %pu | |
179 proxy_config= | |
180 | |
181 # If this is enabled, then the remote FTP server will open up a port for the | |
182 # data connection. If you are behind a firewall, you will need to enable this. | |
183 # Generally, it is a good idea to keep this enabled unless you are connecting | |
184 # to an older FTP server that doesn't support this. If this is disabled, then | |
185 # gFTP will open up a port on the client side and the remote server will | |
186 # attempt to connect to it. | |
187 passive_transfer=1 | |
188 | |
189 # The remote FTP server will attempt to resolve symlinks in the directory | |
190 # listings. Generally, this is a good idea to leave enabled. The only time you | |
191 # will want to disable this is if the remote FTP server doesn't support the -L | |
192 # option to LIST | |
193 resolve_symlinks=1 | |
194 | |
195 # If you are transfering a text file from Windows to UNIX box or vice versa, | |
196 # then you should enable this. Each system represents newlines differently for | |
197 # text files. If you are transfering from UNIX to UNIX, then it is safe to | |
198 # leave this off. If you are downloading binary data, you will want to disable | |
199 # this. | |
200 ascii_transfers=0 | |
201 | |
202 # Firewall hostname | |
203 http_proxy_host= | |
204 | |
205 # Port to connect to on the firewall | |
206 http_proxy_port=80 | |
207 | |
208 # Your firewall username | |
209 http_proxy_username= | |
210 | |
211 # Your firewall password | |
212 http_proxy_password= | |
213 | |
214 # Do you want to use HTTP/1.1 or HTTP/1.0 | |
215 use_http11=1 | |
216 | |
217 # SSL entropy file | |
218 entropy_source=/dev/urandom | |
219 | |
220 # The maximum number of bytes to seed the SSL engine with | |
221 entropy_len=1024 | |
222 | |
223 # The path to the SSH executable | |
224 ssh_prog_name= | |
225 | |
226 # Extra parameters to pass to the SSH program | |
227 ssh_extra_params= | |
228 | |
229 # Default remote SSH2 sftp-server path | |
230 ssh2_sftp_path= | |
231 | |
232 # Require a username/password for SSH connections | |
219 | 233 ssh_need_userpass=1 |
218 | 234 |
235 # Use the ssh-askpass utility to supply the remote password | |
236 ssh_use_askpass=0 | |
237 | |
238 # Call ssh with the -s sftp flag. This is helpful because you won't have to | |
239 # know the remote path to the remote sftp-server | |
240 sshv2_use_sftp_subsys=0 | |
241 | |
1 | 242 # This section specifies which hosts are on the local subnet and won't need to |
243 # go out the proxy server (if available). Syntax: dont_use_proxy=.domain or | |
244 # dont_use_proxy=network number/netmask | |
245 | |
246 # ext=file extenstion:XPM file:Ascii or Binary (A or B):viewer program. Note: | |
247 # 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
|
248 ext=.pdf::B:xpdf |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
249 ext=.rpm:rpm.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
250 ext=.deb:deb.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
251 ext=.diff:diff.xpm: : |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
252 ext=.htm:world.xpm:A: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
253 ext=.html:world.xpm:A: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
254 ext=.xcf:img.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
255 ext=.psd:img.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
256 ext=.xpm:img.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
257 ext=.bmp:img.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
258 ext=.tif:img.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
259 ext=.tiff:img.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
260 ext=.png:img.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
261 ext=.jpg:img.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
262 ext=.mp3:sound.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
263 ext=.mid:sound.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
264 ext=.wav:sound.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
265 ext=.bz2:tar.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
266 ext=.gz:tar.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
267 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
|
268 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
|
269 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
|
270 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
|
271 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
|
272 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
|
273 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
|
274 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
|
275 ext=.tar:tar.xpm:B: |
a171df6764a7
* Fixed crash if you was already transfering a file, and you started another
masneyb
parents:
1
diff
changeset
|
276 ext=.tgz:tar.xpm:B: |