annotate docs/sample.gftp/gftprc @ 218:de6a2e8e51cb

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