annotate README @ 303:3b9d5797050f

2003-11-2 Brian Masney <masneyb@gftp.org> * lib/rfc2068.c (rfc2068_chunked_read) - more improvements to this function so that it will parse more chunked file transfers correctly. * lib/misc.c lib/gftp.h lib/rfc2068.c src/gtk/bookmarks.c src/gtk/dnd.c - removed remove_double_slashes(). Call gftp_build_path() to build the paths. This now allows Novell directory listings with //server * lib/protocols.c src/gtk/transfer.c lib/gftp.h - added variable conn_error_no_timeout to gftp_transfer structure. If this is enabled, if the remote connection to the server timed out, don't wait and immediately reconnect. So far, the only time this is used is when the user was editing a file and it is to be uploaded back to the server. * src/gtk/gftp-gtk.h src/gtk/transfer.c - add_file_transfer() now returns the struct gftp_transfer that was just added. * src/gtk/misc-gtk.c (update_directory_download_progress) - don't make the window a popup and remove the window decorations * src/text/gftp-text.c - don't populate the transfer_direction variable in struct gftp_transfer. This is only needed by the GTK+ port and will hopefully be taken out soon. * lib/gftp.h - remove gftp_transfer_type enum. It wasn't used anymore.
author masneyb
date Mon, 03 Nov 2003 02:14:05 +0000
parents dbf13a10be13
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
1 gFTP README
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
2 -----------
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
3
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
4 [Requirements]
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
5
73
c226809c03c8 2002-12-2 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
6 * GTK+ 1.2.3 or higher. GTK+/Glib is included with most systems now. If you
c226809c03c8 2002-12-2 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
7 don't have it installed, you may want to check to see if your vendor has a
c226809c03c8 2002-12-2 Brian Masney <masneyb@gftp.org>
masneyb
parents: 1
diff changeset
8 package available. If not, you can download the latest version of GTK+ and
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
9 Glib from ftp://ftp.gtk.org/pub/gtk. gFTP will work with either version 1.2
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
10 or 2.0 of GTK+, but I would recommend using GTK+ 2.0.
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
11 * pthread libraries. Most systems already satisfy this requirement. If you are
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
12 on a platform other than Linux, you may want to take a look at the FSU
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
13 Pthreads library at http://www.informatik.hu-berlin.de/~mueller/pthreads.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
14
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
15 [Installation Instructions]
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
16
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
17 * If you do not want to compile gFTP yourself, you can check my webpage. I have
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
18 DEBs for Debian and RPMs for RedHat available. If you're looking for Solaris
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
19 binaries, check out http://www.sunfreeware.com.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
20 * If you are compiling gFTP yourself, extract the files from the distribution
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
21 with tar -zxvf gftp-<version>.tar.gz
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
22 * Go to the gftp-<version> directory and type
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
23
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
24 ./configure
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
25 make
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
26
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
27 The configure script will generate a Makefile for your machine, and make
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
28 will compile a binary for your machine. By default, when you run
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
29 configure, it will install gFTP with the prefix /usr/local, so the gFTP
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
30 binary will be /usr/local/bin/gftp. You can change this by typing
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
31 configure --prefix=/usr, and it will then install the gFTP binary to
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
32 /usr/bin/gftp.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
33 * If the compile suceeds without any errors, you can type make install to
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
34 install the binary. This will also copy some necessary
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
35 files to <install prefix>/share/gftp. If you do not have root on your
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
36 machine to install these files, copy the contents of the docs/sample.gftp/
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
37 directory to ~/.gftp.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
38 * You may want to glance at the USERS-GUIDE file that comes with this
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
39 distribution. It contains a little bit of information about how to use it.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
40
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
41 [Frequently Asked Questions]
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
42
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
43 Here is a list of frequently asked questions about gFTP. You can always find
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
44 the latest version of this FAQ on my website.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
45
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
46 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
47
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
48 Q: What systems is gFTP known to run on?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
49
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
50 A: I develop gFTP on a Debian GNU/Linux machine. Here is a list of other
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
51 platforms I have received successful compile reports:
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
52
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
53 * FreeBSD/NetBSD/OpenBSD/BSDI
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
54 * Solaris
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
55 * IRIX
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
56 * Digital UNIX
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
57 * HP/UX 11
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
58
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
59 If gFTP compiles and runs on a platform not listed here, please email me
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
60 about it and I'll add it to this list. If you are having problems compiling
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
61 GTK+ or gFTP on another platform, try using GNU make instead of your vendor
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
62 supplied make.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
63
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
64 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
65
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
66 Q: I'm having problems getting SSH2 transfers to work. I keep getting the error:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
67 Error: Message size XXXXXXXX too big from server
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
68
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
69 A: What probably is the problem, sftp-server isn't in your path on the remote
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
70 server. When you try to connect to the remote server, you'll see the command
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
71 gFTP is trying to run, and it'll look something like:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
72
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
73 ssh -e none -l username hostname "echo -n xsftp ; sftp-server"
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
74
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
75 Try running this command. If you get a prompt asking:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
76
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
77 The authenticity of host 'hostname (###.###.###.###)' can't be established.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
78 RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
79 Are you sure you want to continue connecting (yes/no)?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
80
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
81 Tell it yes. gFTP won't even try to answer this question for you at the
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
82 moment. Then, if you get the following output:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
83
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
84 Enter passphrase for key '/home/brian/.ssh/id_dsa':
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
85 xsftp
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
86 bash: sftp-server: command not found
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
87
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
88 You'll have to set the path to the sftp-server program. Alternatively you
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
89 could go under FTP->Options->SSH and enable Use sftp subsys. If you enable
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
90 this, then you don't have to know the remote path to your sftp executable.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
91 But if you enable this, gFTP won't be able to send your password over to
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
92 the ssh client. So if you're not using ssh-agent, then ssh will spawn the
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
93 ssh-askpass program to grab your password.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
94
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
95 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
96
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
97 Q: How do I force running the text or gtk+ version of gFTP?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
98
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
99 A: To run the text port, you can type gftp-text or to run the gtk+ port, you
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
100 can run the gftp-gtk. The gftp command is just a shell script that checks
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
101 if your DISPLAY variable is set, and if so it'll run the appropriate version.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
102
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
103 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
104
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
105 Q: Is there a way for gFTP to download a bunch of files/directories and then
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
106 exit when it's completed?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
107
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
108 A: Yes, the text port of gFTP supports this well. You can type:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
109
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
110 gftp-text -d ftp://ftp.somesite.com/someplace
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
111
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
112 If someplace is a directory, it'll automatically download all of its
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
113 subdirectories as well. If you want to transfer a file through ssh instead
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
114 of ftp, just change the ftp:// to ssh://.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
115
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
116 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
117
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
118 Q: In the GTK+ version of gFTP, do I have to enter a port, username and password
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
119 to connect to a ftp server?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
120
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
121 A: No you don't. If you leave the port blank, it'll default to the default port
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
122 for the protocol you selected (port 21 for FTP). If you leave the username
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
123 blank, it will default to logging in as anonymous.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
124
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
125 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
126
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
127 Q: How do I set up my HTTP Proxy server?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
128
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
129 A: Go under FTP->Options and hit the FTP tab. Enter HTTP as the proxy type
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
130 and fill in your proxy server info on that screen. Then hit the HTTP tab
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
131 and enter your same proxy server info there.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
132
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
133 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
134
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
135 Q: When gFTP tries to get the remote directory listing, the remote server
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
136 complains about either the -a or -L argument to LIST.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
137
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
138 A: If the server is complaining about the -L option, go under FTP->Options->FTP
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
139 and disable resolve remote symlinks. If it is complaining about the -a
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
140 option, go to FTP->Options->General and disable show hidden files.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
141
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
142 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
143
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
144 Q: When gFTP tries to get the remote directory listing, I receive the error:
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
145 Cannot create a data connection: Connection refused
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
146
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
147 A: Go under FTP->Options and turn off passive file transfers. Instead of
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
148 sending the PASV command to open up the data connection on the server side,
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
149 the data connection will be opened up on the client side, and the PORT
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
150 command will be sent to the server instead.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
151
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
152 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
153
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
154 Q: When I try to compile gFTP, I get some errors. One of them is undefined
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
155 symbol LC_ALL.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
156
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
157 A: Try running make distclean ; configure --with-included-gettext. You could
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
158 alternatively pass --disable-nls to configure, and internationalization
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
159 support will not be compiled in.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
160
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
161 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
162
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
163 Q: How do I report bugs in gFTP?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
164
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
165 A: If you find ANY bugs in gFTP, please check to make sure that you are using
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
166 the latest version of gFTP. If you are, please submit all bug reports to
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
167 GNOME's Bugzilla. When sending in bug reports, please try to be as
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
168 descriptive as possible. Send me what OS/version you are running, what
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
169 compiler you are compiling with, and any other important information. If
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
170 you get gFTP to crash, it would be very helpful if you could send me a
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
171 backtrace. If you do not know how to do a backtrace, download the source
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
172 code from my website. Edit the Makefile, and make sure that -g appear in
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
173 the CFLAGS variable. Then recompile gFTP, but do NOT do a make install
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
174 because it will install a stripped binary in $PREFIX/bin. Then type
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
175 gdb ./gftp. Once you have a (gdb) prompt, type r. When gFTP crashes,
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
176 go back to that terminal window, and type bt, and put that output in the
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
177 bug that you file with bugzilla.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
178
261
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
179 I also have a gftp-users mailinglist setup. I have a link to the archives
dbf13a10be13 2003-8-20 Brian Masney <masneyb@gftp.org>
masneyb
parents: 73
diff changeset
180 on my main webpage.
1
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
181
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
182 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
183
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
184 Q: Where does gFTP store it's options?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
185
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
186 A: gFTP will automatically create a ~/.gftp directory when it is first run.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
187 Your config file is ~/.gftp/gftprc, and this is where all of gFTP's
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
188 settings are stored. The config file is well commented, so take a glance
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
189 at it and see if there is anything you want to change. Your bookmarks are
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
190 stored in the file ~/.gftp/bookmarks
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
191
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
192 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
193
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
194 Q: I am trying to compile your program and I get some parse errors before
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
195 GdkDragContext. What's wrong?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
196
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
197 A: You have an older version of gtk installed on your system. If you are
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
198 using Red Hat or Debian Linux, simply remove the gtk and glib devel
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
199 packages. You can still leave the gtk 1.0 libraries installed.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
200
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
201 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
202
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
203 Q: I am having a hard time using the drag and drop in gFTP. How do I use it?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
204
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
205 A: To drag from the file listboxes in gFTP, you have to drag with button #3.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
206 On a two button mouse, you have to hold down both buttons. For this to work
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
207 tho, you have to edit your XF86Config file, and go to the Pointer section.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
208 You have to make sure Emulate3Buttons is in there. Here's the section out of
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
209 my config file:
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
210
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
211 Section "Pointer"
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
212 Protocol "PS/2" # This will depend on your mouse
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
213 Device "/dev/mouse" # This will also depend on your mouse
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
214 Emulate3Buttons # You need this for a 2 button mouse
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
215 EndSection
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
216
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
217 *******************************************************************************
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
218
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
219 Q: I have a libc 5 based machine and everytime I run gFTP it instantly crashes.
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
220 I get an error something like: Gdk-ERROR **: an x io error occurred
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
221 What's wrong?
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
222
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
223 A: Your X libraries are not thread safe. They must be compiled with
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
224 -D_REENTRANT. You can either recompile your X libraries, or you can
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
225 download some from my webpage at
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
226 http://www.gftp.org/XFree86-libs-3.3-2_threading.i386.tgz
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
227
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
228
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
229 Brian Masney <masneyb@gftp.org>
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
230 gFTP Official Webpage - http://www.gftp.org/
8b1883341c6f Initial revision
masneyb
parents:
diff changeset
231