annotate docs/gftp-faq.sgml @ 520:e67a52327b24

2004-7-27 Brian Masney <masneyb@gftp.org> * lib/gftp.h lib/local.c lib/protocols.c lib/sshv2.c - changed declaration of gftp_stat_filename() so that the mode of the filename is returned as a parameter instead of the function return value. The mode_t type is unsigned and the error codes could not be reported properly
author masneyb
date Wed, 28 Jul 2004 02:19:00 +0000
parents 075f89b4395c
children a8ca3e349d4a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
1 <!doctype book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" []>
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
2
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
3 <!-- Note: I used the format of the GTK+ FAQ to build this document -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
4 <!-- Please let me know if there are other ways to improve upon this -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
5
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
6 <book>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
7
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
8 <bookinfo>
460
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
9 <date>$Date: 2004/04/15 00:59:23 $</date>
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
10 <title>gFTP FAQ</title>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
11 <authorgroup>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
12 <author>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
13 <firstname>Brian</firstname>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
14 <surname>Masney</surname>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
15 </author>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
16 </authorgroup>
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
17
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
18 <abstract>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
19 <para>This document is intended to answer questions that are
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
20 likely to be frequently asked by users of gFTP.</para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
21 </abstract>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
22
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
23 </bookinfo>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
24
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
25 <toc></toc>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
26
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
27 <!-- ***************************************************************** -->
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
28
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
29 <chapter>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
30 <title>General Information</title>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
31
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
32 <!-- ----------------------------------------------------------------- -->
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
33
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
34 <sect1>
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
35 <title>What are the requirements to run gFTP?</title>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
36
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
37 <para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
38 <itemizedlist>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
39 <listitem><simpara>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
40 GTK+ 1.2.3 or higher. GTK+/Glib is included with most systems now. If you
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
41 don't have it installed, you may want to check to see if your vendor has a
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
42 package available. If not, you can download the latest version of GTK+ and
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
43 Glib from
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
44 <ulink url="ftp://ftp.gtk.org/pub/gtk">ftp://ftp.gtk.org/pub/gtk</ulink>.
430
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
45 gFTP will work with either version 1.2 or 2.x of GTK+, but I would recommend
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
46 using GTK+ 2.x.
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
47 </simpara></listitem>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
48 <listitem><simpara>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
49 pthread libraries. Most systems already satisfy this requirement. If you are
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
50 on a platform other than Linux, you may want to take a look at the FSU
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
51 Pthreads library at <ulink url="http://www.informatik.hu-berlin.de/~mueller/pthreads">http://www.informatik.hu-berlin.de/~mueller/pthreads</ulink>.
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
52 </simpara></listitem>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
53 </itemizedlist>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
54 </para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
55
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
56 </sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
57
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
58 <!-- ----------------------------------------------------------------- -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
59
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
60 <sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
61 <title>How do I install gFTP?</title>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
62
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
63 <para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
64 <itemizedlist>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
65
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
66 <listitem><simpara>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
67 If you do not want to compile gFTP yourself, you can check my webpage. I have
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
68 DEBs for Debian and RPMs for RedHat available. If you're looking for Solaris
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
69 binaries, check out <ulink url="http://www.sunfreeware.com">http://www.sunfreeware.com</ulink>.
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
70 </simpara></listitem>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
71
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
72 <listitem><simpara>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
73 If you are compiling gFTP yourself, extract the files from the distribution
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
74 with tar -zxvf gftp-&lt;version&gt;.tar.gz
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
75 </simpara></listitem>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
76
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
77 <listitem><simpara>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
78 Go to the gftp-&lt;version&gt; directory and type
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
79 </simpara>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
80
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
81 <literallayout>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
82 <literal>./configure</literal>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
83 <literal>make</literal>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
84 </literallayout>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
85
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
86 <simpara>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
87 The configure script will generate a Makefile for your machine, and make
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
88 will compile a binary for your machine. By default, when you run
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
89 configure, it will install gFTP with the prefix /usr/local, so the gFTP
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
90 binary will be /usr/local/bin/gftp. You can change this by typing
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
91 configure --prefix=/usr, and it will then install the gFTP binary to
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
92 /usr/bin/gftp.
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
93 </simpara>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
94 </listitem>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
95
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
96 <listitem><simpara>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
97 If the compile suceeds without any errors, you can type make install to
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
98 install the binary. This will also copy some necessary
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
99 files to &lt;install prefix&gt;/share/gftp. If you do not have root on your
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
100 machine to install these files, copy the contents of the docs/sample.gftp/
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
101 directory to ~/.gftp.
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
102 </simpara></listitem>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
103 <listitem><simpara>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
104 You may want to glance at the USERS-GUIDE file that comes with this
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
105 distribution. It contains a little bit of information about how to use it.
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
106 </simpara></listitem>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
107
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
108 </itemizedlist>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
109 </para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
110
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
111 </sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
112
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
113 <!-- ----------------------------------------------------------------- -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
114
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
115 <sect1>
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
116 <title>What systems is gFTP known to run on?</title>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
117
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
118 <para>I develop gFTP on a Debian GNU/Linux machine. It should run under
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
119 any other Linux distributions. Here is a list of other platforms I have
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
120 received successful compile reports:</para>
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
121
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
122 <itemizedlist>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
123 <listitem><simpara>FreeBSD/NetBSD/OpenBSD/BSDI</simpara></listitem>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
124 <listitem><simpara>Solaris</simpara></listitem>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
125 <listitem><simpara>IRIX</simpara></listitem>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
126 <listitem><simpara>Digital UNIX</simpara></listitem>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
127 <listitem><simpara>HP/UX 11</simpara></listitem>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
128 </itemizedlist>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
129
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
130 <para>If gFTP compiles and runs on a platform not listed here, please email me
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
131 about it and I'll add it to this list. If you are having problems compiling
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
132 GTK+ or gFTP on another platform, try using GNU make instead of your vendor
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
133 supplied make.</para>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
134 </sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
135
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
136 <!-- ----------------------------------------------------------------- -->
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
137
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
138 <sect1>
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
139 <title>Does gFTP have a CVS repository?</title>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
140
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
141 <para>gFTP is stored in GNOME's CVS repository. For instructions on how to
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
142 setup your CVS client, you can visit the webpage
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
143 <ulink url="http://developer.gnome.org/tools/cvs.html">http://developer.gnome.org/tools/cvs.html</ulink> for instructions. In a nutshell, you will need to run
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
144 the following commands (this assumes you are using the <emphasis>bash</emphasis>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
145 shell):</para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
146
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
147 <para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
148
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
149 <literallayout>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
150 <literal>export CVSROOT=":pserver:anonymous@anoncvs.gnome.org:/cvs/gnome"</literal>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
151 <literal>cvs login</literal>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
152 </literallayout>
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
153
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
154 Just hit enter at the password prompt since there is no password.
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
155
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
156 <literallayout>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
157 <literal>cvs co gftp</literal>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
158 </literallayout>
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
159
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
160 </para>
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
161
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
162 <para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
163 To compile the CVS code, you will need <emphasis>autoconf</emphasis>,
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
164 <emphasis>automake 1.4</emphasis> and <emphasis>gettext</emphasis>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
165 installed on your system. To generate a configure script, you will
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
166 need to run <emphasis>autogen.sh</emphasis>. Once this script is
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
167 generated, you can follow the normal installation instructions.
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
168
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
169 </sect1>
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
170
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
171 <!-- ----------------------------------------------------------------- -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
172
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
173 <sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
174 <title>How do I report bugs in gFTP?</title>
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
175
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
176 <para>If you find ANY bugs in gFTP, please check to make sure that you are using
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
177 the latest version of gFTP. If you are, please submit all bug reports to
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
178 GNOME's Bugzilla. When sending in bug reports, please try to be as
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
179 descriptive as possible. Send me what OS/version you are running, what
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
180 compiler you are compiling with, the output of <emphasis>gftp --info</emphasis>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
181 and any other important information. If you get gFTP to crash, it would be very
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
182 helpful if you could send me a backtrace. If you do not know how to do a
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
183 backtrace, download the source code from my website. Edit the Makefile, and
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
184 make sure that -g appears in the CFLAGS variable. Then recompile gFTP, but do
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
185 NOT run make install because it will install a stripped binary in $PREFIX/bin.
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
186 Then type gdb ./gftp. Once you have a (gdb) prompt, type r. When gFTP crashes,
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
187 go back to that terminal window, and type bt, and put that output in the bug
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
188 that you file with bugzilla.</para>
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
189
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
190 <para>I also have a gftp-users mailinglist setup. I have a link to the archives
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
191 on my main webpage. If it is strictly a bug report, please submit it to
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
192 Bugzilla instead of the mailinglist. Bugs that are submitted to bugzilla are
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
193 much easier for me to track.</para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
194
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
195 <para>Also, if you do not get a response back from me immediately, that is not
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
196 uncommon. I usually stay very busy and I don't get to work on gFTP all of the
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
197 time.</para>
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
198
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
199 </sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
200
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
201 <!-- ----------------------------------------------------------------- -->
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
202
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
203 <sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
204 <title>How do I force running the text or gtk+ version of gFTP?</title>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
205
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
206 <para>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
207 To run the text port, you can type gftp-text or to run the gtk+ port,
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
208 you can run the gftp-gtk. The gftp command is just a shell script that checks
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
209 if your DISPLAY variable is set, and if so it'll run the appropriate version.
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
210 </para>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
211
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
212 </sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
213
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
214 <!-- ----------------------------------------------------------------- -->
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
215
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
216 <sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
217 <title>Is there a way for gFTP to download a bunch of files/directories and
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
218 then exit when it's completed?</title>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
219
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
220 <para>Yes, the text port of gFTP supports this well. You can type:</para>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
221
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
222 <para><literallayout><literal>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
223 gftp-text -d ftp://ftp.somesite.com/someplace
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
224 </literal></literallayout></para>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
225
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
226 <para>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
227 If someplace is a directory, it'll automatically download all of its
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
228 subdirectories as well. If you want to transfer a file through ssh instead
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
229 of ftp, just change the <emphasis>ftp://</emphasis> to
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
230 <emphasis>ssh://</emphasis>.
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
231 </para>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
232
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
233 </sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
234
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
235 <!-- ----------------------------------------------------------------- -->
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
236
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
237 <sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
238 <title>In the GTK+ version of gFTP, do I have to enter a port, username and
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
239 password to connect to a ftp server?</title>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
240
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
241 <para>No you don't. If you leave the port blank, it'll default to the default
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
242 port for the protocol you selected (port 21 for FTP). If you leave the
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
243 username blank, it will default to logging in as anonymous.</para>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
244
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
245 </sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
246
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
247 <!-- ----------------------------------------------------------------- -->
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
248
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
249 <sect1>
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
250 <title>Where does gFTP store it's options?</title>
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
251
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
252 <para>gFTP will automatically create a ~/.gftp directory when it is first run.
310
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
253 Your config file is <emphasis>~/.gftp/gftprc</emphasis>, and this is where
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
254 all of gFTP's settings are stored. The config file is well commented, so take
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
255 a glance at it and see if there is anything you want to change. Your bookmarks
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
256 are stored in the file <emphasis>~/.gftp/bookmarks</emphasis>.</para>
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
257
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
258 <para>Every time gFTP is run, it will log the contents of the log window
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
259 to <emphasis>~/.gftp/gftp.log</emphasis>. The contents of this file will be
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
260 automatically purged this file when gFTP is started up.</para>
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
261
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
262 </sect1>
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
263
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
264 <!-- ----------------------------------------------------------------- -->
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
265
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
266 <sect1>
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
267 <title>Why aren't the file sizes comma separated?</title>
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
268
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
269 <para>
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
270 If gFTP was compiled with _GNU_SOURCE defined (run
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
271 <emphasis>gftp --info</emphasis>), then gFTP will use the printf() modifier
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
272 %'ld. If your <emphasis>LANG</emphasis> environment is set to C, then no
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
273 commas will be inserted. If you are in the US, change your
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
274 <emphasis>LANG</emphasis> environment variable to <emphasis>en_US</emphasis>.
cf283d076239 2003-11-9 Brian Masney <masneyb@gftp.org>
masneyb
parents: 307
diff changeset
275 </para>
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
276
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
277 </sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
278
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
279 <!-- ----------------------------------------------------------------- -->
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
280
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
281 </chapter>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
282
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
283 <!-- ***************************************************************** -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
284
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
285 <chapter>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
286 <title>FTP Protocol</title>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
287
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
288 <sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
289 <title>When gFTP tries to get the remote directory listing, the remote server
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
290 complains about either the -a or -L argument to LIST.</title>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
291
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
292 <para>If the server is complaining about the -L option, go under
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
293 <emphasis>FTP->Options->FTP</emphasis> and disable resolve remote symlinks.
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
294 If it is complaining about the -a option, go to
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
295 <emphasis>FTP->Options->General</emphasis> and disable show hidden
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
296 files.</para>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
297
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
298 </sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
299
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
300 <!-- ----------------------------------------------------------------- -->
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
301
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
302 <sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
303 <title>When gFTP tries to get the remote directory listing, I receive the
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
304 error: <emphasis>Cannot create a data connection: Connection
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
305 refused</emphasis></title>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
307 <para>Go under <emphasis>FTP->Options->FTP</emphasis> and turn off passive
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
308 file transfers. Instead of sending the PASV command to open up the data
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
309 connection on the server side, the data connection will be opened up on the
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
310 client side, and the PORT command will be sent to the server instead.</para>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
311
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
312 </sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
313
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
314 <!-- ----------------------------------------------------------------- -->
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
315
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
316 </chapter>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
317
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
318 <!-- ***************************************************************** -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
319
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
320 <chapter>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
321 <title>HTTP Protocol</title>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
322
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
323 <sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
324 <title>How do I set up my HTTP Proxy server?</title>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
325
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
326 <para>Go under <emphasis>FTP->Options</emphasis> and hit the FTP tab. Enter
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
327 HTTP as the proxy type and fill in your proxy server info on that screen.
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
328 Then hit the HTTP tab and enter your same proxy server info there.</para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
329
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
330 </sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
331
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
332 <!-- ----------------------------------------------------------------- -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
333
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
334 </chapter>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
335
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
336 <!-- ***************************************************************** -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
337
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
338 <chapter>
430
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
339 <title>SSL Issues</title>
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
340
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
341 <sect1>
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
342 <title>When using the FTPS or HTTPS protocol, gFTP cannot connect if the remote
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
343 server uses a self signed certificate.</title>
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
344
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
345 <para>You must add the public key of your self signed CA to your OpenSSL
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
346 certs directory. On my Debian box, the OpenSSL certs are installed in
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
347 /usr/lib/ssl/certs.</para>
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
348
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
349 </sect1>
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
350
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
351 </chapter>
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
352
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
353 <!-- ***************************************************************** -->
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
354
f2bf216a8091 2004-3-17 Brian Masney <masneyb@gftp.org>
masneyb
parents: 348
diff changeset
355 <chapter>
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
356 <title>Compiling Problems</title>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
357
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
358 <sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
359 <title>When I try to compile gFTP, I see undefined symbol
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
360 <emphasis>libintl_gettext</emphasis>. Or, another error is
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
361 <emphasis>undefined symbol LC_ALL.</emphasis></title>
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
362
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
363 <para>Try running
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
364
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
365 <para><literallayout><literal>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
366 make distclean ; configure --with-included-gettext.
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
367 </literal></literallayout></para>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
368
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
369 <para>You could alternatively pass
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
370
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
371 <literallayout><literal>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
372 --disable-nls
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
373 </literal></literallayout>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
374
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
375 to configure, and internationalization support will not be compiled in.</para>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
376
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
377 </sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
378
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
379 <!-- ----------------------------------------------------------------- -->
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
380
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
381 <sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
382 <title>I am trying to compile your program and I get some parse errors before
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
383 GdkDragContext. What's wrong?</title>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
384
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
385 <para>You have an older version of gtk installed on your system. If you are
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
386 using Red Hat or Debian Linux, simply remove the gtk and glib devel
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
387 packages. You can still leave the gtk 1.0 libraries installed.</para>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
388
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
389 </sect1>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
390
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
391 <!-- ----------------------------------------------------------------- -->
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
392
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
393 </chapter>
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
394
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
395 <!-- ***************************************************************** -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
396
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
397 <chapter>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
398 <title>Issues for older releases</title>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
399
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
400 <sect1>
460
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
401 <title>I'm having problems getting SSH2 transfers to work. I keep getting the
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
402 error: <emphasis>Error: Message size XXXXXXXX too big from server (only relevant for versions <= 2.0.17)</emphasis>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
403 </title>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
404
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
405 <para>What probably is the problem, sftp-server isn't in your path on the
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
406 remote server. When you try to connect to the remote server, you'll see the
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
407 command gFTP is trying to run, and it'll look something like:</para>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
408
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
409 <para><literallayout><literal>ssh -e none -l username hostname "echo -n xsftp ; sftp-server"</literal></literallayout</para>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
410
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
411 <para>Try running this command. If you get a prompt asking:</para>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
412
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
413 <para><literallayout>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
414 <literal>The authenticity of host 'hostname (###.###.###.###)' can't be established.</literal>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
415 <literal>RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.</literal>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
416 <literal>Are you sure you want to continue connecting (yes/no)?</literal>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
417 </literallayout></para>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
418
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
419 <para>Tell it yes. gFTP won't even try to answer this question for you at the
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
420 moment. Then, if you get the following output:</para>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
421
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
422 <para><literallayout>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
423 <literal>Enter passphrase for key '/home/brian/.ssh/id_dsa':</literal>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
424 <literal>xsftp</literal>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
425 <literal>bash: sftp-server: command not found</literal>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
426 </literallayout></para>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
427
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
428 <para>You'll have to set the path to the sftp-server program. Alternatively
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
429 you could go under FTP->Options->SSH and enable Use sftp subsys. If you enable
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
430 this, then you don't have to know the remote path to your sftp executable.
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
431 But if you enable this, gFTP won't be able to send your password over to
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
432 the ssh client. So if you're not using ssh-agent, then ssh will spawn the
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
433 ssh-askpass program to grab your password.</para>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
434
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
435 </sect1>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
436
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
437 <sect1>
075f89b4395c 2004-4-14 Brian Masney <masneyb@gftp.org>
masneyb
parents: 430
diff changeset
438 <title>What is the difference between the SSH and SSH2 protocols? (only relevant for versions <= 2.0.15)</title>
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
439
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
440 <para>The SSH protocol uses sftp >= 0.7 from
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
441 <ulink url="http://www.xbill.org/sftp">http://www.xbill.org/sftp</ulink>.
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
442 SSH2 uses the native file transfers found in the commercial SSH2 and in later
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
443 versions of OpenSSH. The SSH2 protocol uses the sftp-server executable on
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
444 the remote host and the SSH protocol uses the sftpserv executable.</para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
445
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
446 <para>Note: Due to confusion, the origional SSH protocol was removed in gFTP
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
447 2.0.15. It is not shown in gFTP 2.0.14, but there is a config option called
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
448 enable_old_ssh to enable this protocol.</para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
449
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
450 </sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
451
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
452 <!-- ----------------------------------------------------------------- -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
453
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
454 <sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
455 <title>I downloaded a binary off the internet and everytime I run gFTP I get an
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
456 error saying: <emphasis>undefined symbol :__register_frame_info</emphasis></title>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
457
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
458 <para>ObiTuarY &lt;obituary@freshmeat.net&gt; says:</para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
459
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
460 <para>This happens when you compile a library with egcs. The library then has
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
461 the __register_frame_info symbol. If you link a program to it, it will
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
462 require this symbol. Now if you have the exact same library compiled with
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
463 gcc 2.7.2.3 it won't have this symbol. The thing about glibc 2.1 under Red
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
464 Hat 6 is it was compiled with egcs and glibc 2.0.x under Red Hat 5.x was
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
465 compiled with gcc 2.7.2.3, therefore it's not an incompatibility between
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
466 glibc 2.0.x and 2.1.x. What some people do for that is they get the .o file
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
467 of egcs with __register_frame_info in it and link into the program so it's
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
468 always there, that way it works with libs compiled with egcs or gcc 2.7.2.3.
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
469 (in /usr/lib/gcc-lib/i386-*-linux/egcs-*/ )"</para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
470
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
471 <para>Another alternative, is to recompile gFTP on your machine, or you can
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
472 download some RPMs off my website that were compiled against Red Hat
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
473 5.2.</para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
474
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
475 </sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
476
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
477 <!-- ----------------------------------------------------------------- -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
478
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
479 <sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
480 <title>I upgraded to a newer version of gFTP and now I am getting some warnings
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
481 about some config file lines not having enough arguments, and it cannot find
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
482 html.xpm.</title>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
483
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
484 <para>This is from upgrading from a very old version of gFTP to a newer version.
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
485 I removed some icons from the distribution (0.20 to 0.21). Edit your
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
486 ~/.gftp/gftprc file. At the bottom of the file, there are some ext= lines.
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
487 Some of them have html.xpm, rpm.xpm and pdf.xpm. Remove these lines and gFTP
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
488 will startup fine. Don't worry about fixing he warnings...they will go away
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
489 themselves whenever you change an option in gFTP.</para>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
490
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
491 </sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
492
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
493 <!-- ----------------------------------------------------------------- -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
494
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
495 <sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
496 <title>I have a libc 5 based machine and everytime I run gFTP it instantly
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
497 crashes. I get an error something like:
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
498 <emphasis>Gdk-ERROR **: an x io error occurred</emphasis></title>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
499
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
500 <para>Your X libraries are not thread safe. They must be compiled with
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
501 -D_REENTRANT. You can either recompile your X libraries, or you can download
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
502 some from my webpage at
348
0c49989ba4f2 2003-1-4 Brian Masney <masneyb@gftp.org>
masneyb
parents: 310
diff changeset
503 <ulink url="ftp://www.gftp.org/pub/gftp/libs/XFree86-libs-3.3-2_threading.i386.tgz">ftp://www.gftp.org/pub/gftp/libs/XFree86-libs-3.3-2_threading.i386.tgz</ulink></para>
307
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
504
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
505 </sect1>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
506
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
507 <!-- ----------------------------------------------------------------- -->
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
508
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
509 </chapter>
76c912483d1d 2003-11-5 Brian Masney <masneyb@gftp.org>
masneyb
parents: 306
diff changeset
510
306
8978792d0855 2003-11-3 Brian Masney <masneyb@gftp.org>
masneyb
parents:
diff changeset
511 </book>