1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>gFTP FAQ</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"></HEAD
><BODY
CLASS="BOOK"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="BOOK"
><A
NAME="AEN1"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="TITLE"
><A
NAME="AEN2"
>gFTP FAQ</A
></H1
><H3
CLASS="AUTHOR"
><A
NAME="AEN6"
></A
>Brian Masney</H3
><DIV
><DIV
CLASS="ABSTRACT"
><P
></P
><A
NAME="AEN9"
></A
><P
>This document is intended to answer questions that are
likely to be frequently asked by users of gFTP.</P
><P
></P
></DIV
></DIV
><HR></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>1. <A
HREF="#AEN12"
>General Information</A
></DT
><DD
><DL
><DT
>1.1. <A
HREF="#AEN14"
>What are the requirements to run gFTP?</A
></DT
><DT
>1.2. <A
HREF="#AEN24"
>How do I install gFTP?</A
></DT
><DT
>1.3. <A
HREF="#AEN43"
>What systems is gFTP known to run on?</A
></DT
><DT
>1.4. <A
HREF="#AEN58"
>Does gFTP have a SVN repository?</A
></DT
><DT
>1.5. <A
HREF="#AEN84"
>How do I report bugs in gFTP?</A
></DT
><DT
>1.6. <A
HREF="#AEN90"
>How do I force running the text or gtk+ version of gFTP?</A
></DT
><DT
>1.7. <A
HREF="#AEN93"
>Is there a way for gFTP to download a bunch of files/directories and
then exit when it's completed?</A
></DT
><DT
>1.8. <A
HREF="#AEN102"
>In the GTK+ version of gFTP, do I have to enter a port, username and
password to connect to a ftp server?</A
></DT
><DT
>1.9. <A
HREF="#AEN105"
>Where does gFTP store it's options?</A
></DT
><DT
>1.10. <A
HREF="#AEN112"
>Why aren't the file sizes comma separated?</A
></DT
><DT
>1.11. <A
HREF="#AEN119"
>When using an external editor, gFTP does not detect changes that are being made to the file.</A
></DT
><DT
>1.12. <A
HREF="#AEN123"
>How can I increase the size of the fonts in gFTP?</A
></DT
><DT
>1.13. <A
HREF="#AEN126"
>I can't transfer certain file types in binary mode using the FTP protocol.</A
></DT
></DL
></DD
><DT
>2. <A
HREF="#AEN138"
>FTP Protocol</A
></DT
><DD
><DL
><DT
>2.1. <A
HREF="#AEN140"
>When gFTP tries to get the remote directory listing, the remote server
complains about either the -a or -L argument to LIST.</A
></DT
><DT
>2.2. <A
HREF="#AEN145"
>When gFTP tries to get the remote directory listing, I receive the
error: <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Cannot create a data connection: Connection
refused</I
></SPAN
></A
></DT
></DL
></DD
><DT
>3. <A
HREF="#AEN150"
>HTTP Protocol</A
></DT
><DD
><DL
><DT
>3.1. <A
HREF="#AEN152"
>How do I set up my HTTP Proxy server?</A
></DT
></DL
></DD
><DT
>4. <A
HREF="#AEN156"
>SSH Protocol</A
></DT
><DD
><DL
><DT
>4.1. <A
HREF="#AEN158"
>gFTP will not log into the remote SSH server when using a non-English
locale.</A
></DT
><DT
>4.2. <A
HREF="#AEN172"
>I'm having problems getting SSH2 transfers to work. I keep getting the
error: <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Error: Message size XXXXXXXX too big from server</I
></SPAN
></A
></DT
><DT
>4.3. <A
HREF="#AEN193"
>What is the difference between the SSH and SSH2 protocols?</A
></DT
></DL
></DD
><DT
>5. <A
HREF="#AEN199"
>SSL Issues</A
></DT
><DD
><DL
><DT
>5.1. <A
HREF="#AEN201"
>When using the FTPS or HTTPS protocol, gFTP cannot connect if the remote
server uses a self signed certificate.</A
></DT
></DL
></DD
><DT
>6. <A
HREF="#AEN204"
>Compiling Problems</A
></DT
><DD
><DL
><DT
>6.1. <A
HREF="#AEN206"
>When I try to compile gFTP, I see undefined symbol
<SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>libintl_gettext</I
></SPAN
>. Or, another error is
<SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>undefined symbol LC_ALL.</I
></SPAN
></A
></DT
></DL
></DD
></DL
></DIV
><DIV
CLASS="CHAPTER"
><HR><H1
><A
NAME="AEN12"
></A
>Chapter 1. General Information</H1
><DIV
CLASS="SECT1"
><H2
CLASS="SECT1"
><A
NAME="AEN14"
>1.1. What are the requirements to run gFTP?</A
></H2
><P
><P
></P
><UL
><LI
><P
>GTK+ 1.2.3 or higher. GTK+/Glib is included with most systems now. If you
don't have it installed, you may want to check to see if your vendor has a
package available. If not, you can download the latest version of GTK+ and
Glib from
<A
HREF="ftp://ftp.gtk.org/pub/gtk"
TARGET="_top"
>ftp://ftp.gtk.org/pub/gtk</A
>.
gFTP will work with either version 1.2 or 2.x of GTK+, but I would recommend
using GTK+ 2.x.</P
></LI
><LI
><P
>pthread libraries. Most systems already satisfy this requirement. If you are
on a platform other than Linux, you may want to take a look at the FSU
Pthreads library at <A
HREF="http://www.informatik.hu-berlin.de/~mueller/pthreads"
TARGET="_top"
>http://www.informatik.hu-berlin.de/~mueller/pthreads</A
>.</P
></LI
></UL
></P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN24"
>1.2. How do I install gFTP?</A
></H2
><P
><P
></P
><UL
><LI
><P
>If you do not want to compile gFTP yourself, you can check my webpage. I have
DEBs for Debian and RPMs for RedHat available. If you're looking for Solaris
binaries, check out <A
HREF="http://www.sunfreeware.com"
TARGET="_top"
>http://www.sunfreeware.com</A
>.</P
></LI
><LI
><P
>If you are compiling gFTP yourself, extract the files from the distribution
with tar -zxvf gftp-<version>.tar.gz</P
></LI
><LI
><P
>Go to the gftp-<version> directory and type </P
><P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>./configure</TT
><br>
<TT
CLASS="LITERAL"
>make</TT
></P
><P
>The configure script will generate a Makefile for your machine, and make
will compile a binary for your machine. By default, when you run
configure, it will install gFTP with the prefix /usr/local, so the gFTP
binary will be /usr/local/bin/gftp. You can change this by typing
configure --prefix=/usr, and it will then install the gFTP binary to
/usr/bin/gftp.</P
></LI
><LI
><P
>If the compile suceeds without any errors, you can type make install to
install the binary. This will also copy some necessary
files to <install prefix>/share/gftp. If you do not have root on your
machine to install these files, copy the contents of the docs/sample.gftp/
directory to ~/.gftp. </P
></LI
><LI
><P
>You may want to glance at the USERS-GUIDE file that comes with this
distribution. It contains a little bit of information about how to use it.</P
></LI
></UL
></P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN43"
>1.3. What systems is gFTP known to run on?</A
></H2
><P
>I develop gFTP on a Debian GNU/Linux machine. It should run under
any other Linux distributions. Here is a list of other platforms I have
received successful compile reports:</P
><P
></P
><UL
><LI
><P
>FreeBSD/NetBSD/OpenBSD/BSDI</P
></LI
><LI
><P
>Solaris</P
></LI
><LI
><P
>IRIX</P
></LI
><LI
><P
>Digital UNIX</P
></LI
><LI
><P
>HP/UX 11</P
></LI
></UL
><P
>If gFTP compiles and runs on a platform not listed here, please email me
about it and I'll add it to this list. If you are having problems compiling
GTK+ or gFTP on another platform, try using GNU make instead of your vendor
supplied make.</P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN58"
>1.4. Does gFTP have a SVN repository?</A
></H2
><P
>gFTP is stored in GNOME's SVN repository. For instructions on how to
setup your subversion client, visit the website
<A
HREF="http://developer.gnome.org/tools/svn.html"
TARGET="_top"
>http://developer.gnome.org/tools/svn.html</A
>.
In a nutshell, you will need to run the following command to download the latest code:</P
><P
> <P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>svn co http://svn.gnome.org/svn/gftp/trunk gftp</TT
></P
> </P
><P
>To compile the SVN code, you will need <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>autoconf</I
></SPAN
>,
<SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>automake</I
></SPAN
> and <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>gettext</I
></SPAN
>
installed on your system. Once you have those packages installed, run
the following series of commands:</P
><P
></P
><UL
><LI
><P
>Run <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>./autogen.sh</I
></SPAN
> to generate the configure scripts.</P
></LI
><LI
><P
>If that is successful, run <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>./configure</I
></SPAN
> to generate the Makefiles. By default, the binaries will be installed in /usr/local/bin. You can change the install location by passing the <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>--prefix</I
></SPAN
> argument to configure. For example, let's say you want to install the binaries in /usr/bin. Run <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>configure --prefix=/usr</I
></SPAN
>.</P
></LI
><LI
><P
>If that is successful, run <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>make</I
></SPAN
> to build the source.</P
></LI
><LI
><P
>Optional: If that is successful, run <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>make install</I
></SPAN
> to install the binary on your computer.</P
></LI
></UL
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN84"
>1.5. How do I report bugs in gFTP?</A
></H2
><P
>If you find ANY bugs in gFTP, please check to make sure that you are using
the latest version of gFTP. If you are, please submit all bug reports to
GNOME's Bugzilla. When sending in bug reports, please try to be as
descriptive as possible. Send me what OS/version you are running, what
compiler you are compiling with, the output of <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>gftp --info</I
></SPAN
>
and any other important information. If you get gFTP to crash, it would be very
helpful if you could send me a backtrace. If you do not know how to do a
backtrace, download the source code from my website. Edit the Makefile, and
make sure that -g appears in the CFLAGS variable. Then recompile gFTP, but do
NOT run make install because it will install a stripped binary in $PREFIX/bin.
Then type gdb ./gftp. Once you have a (gdb) prompt, type r. When gFTP crashes,
go back to that terminal window, and type bt, and put that output in the bug
that you file with bugzilla.</P
><P
>I also have a gftp-users mailinglist setup. I have a link to the archives
on my main webpage. If it is strictly a bug report, please submit it to
Bugzilla instead of the mailinglist. Bugs that are submitted to bugzilla are
much easier for me to track.</P
><P
>Also, if you do not get a response back from me immediately, that is not
uncommon. I usually stay very busy and I don't get to work on gFTP all of the
time.</P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN90"
>1.6. How do I force running the text or gtk+ version of gFTP?</A
></H2
><P
>To run the text port, you can type gftp-text or to run the gtk+ port,
you can run the gftp-gtk. The gftp command is just a shell script that checks
if your DISPLAY variable is set, and if so it'll run the appropriate version.</P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN93"
>1.7. Is there a way for gFTP to download a bunch of files/directories and
then exit when it's completed?</A
></H2
><P
>Yes, the text port of gFTP supports this well. You can type:</P
><P
><P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>gftp-text -d ftp://ftp.somesite.com/someplace</TT
></P
></P
><P
>If someplace is a directory, it'll automatically download all of its
subdirectories as well. If you want to transfer a file through ssh instead
of ftp, just change the <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>ftp://</I
></SPAN
> to
<SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>ssh://</I
></SPAN
>.</P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN102"
>1.8. In the GTK+ version of gFTP, do I have to enter a port, username and
password to connect to a ftp server?</A
></H2
><P
>No you don't. If you leave the port blank, it'll default to the default
port for the protocol you selected (port 21 for FTP). If you leave the
username blank, it will default to logging in as anonymous.</P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN105"
>1.9. Where does gFTP store it's options?</A
></H2
><P
>gFTP will automatically create a ~/.gftp directory when it is first run.
Your config file is <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>~/.gftp/gftprc</I
></SPAN
>, and this is where
all of gFTP's settings are stored. The config file is well commented, so take
a glance at it and see if there is anything you want to change. Your bookmarks
are stored in the file <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>~/.gftp/bookmarks</I
></SPAN
>.</P
><P
>Every time gFTP is run, it will log the contents of the log window
to <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>~/.gftp/gftp.log</I
></SPAN
>. The contents of this file will be
automatically purged this file when gFTP is started up.</P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN112"
>1.10. Why aren't the file sizes comma separated?</A
></H2
><P
>If gFTP was compiled with _GNU_SOURCE defined (run
<SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>gftp --info</I
></SPAN
>), then gFTP will use the printf() modifier
%'ld. If your <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>LANG</I
></SPAN
> environment is set to C, then no
commas will be inserted. If you are in the US, change your
<SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>LANG</I
></SPAN
> environment variable to <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>en_US</I
></SPAN
>.</P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN119"
>1.11. When using an external editor, gFTP does not detect changes that are being made to the file.</A
></H2
><P
>Look at the man page for the editor you are using and see if there is a
command line argument to have the editor run in the foreground (it won't
fork to detact from the current terminal). If you are using one of the
graphical VIM editors, you can add the <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>--nofork</I
></SPAN
> argument.</P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN123"
>1.12. How can I increase the size of the fonts in gFTP?</A
></H2
><P
>You can use the gnome-font-properties program to change the fonts used by
all GTK+ 2.x applications.</P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN126"
>1.13. I can't transfer certain file types in binary mode using the FTP protocol.</A
></H2
><P
>Edit your ~/.gftp/gftprc file and look at the ext= lines towards the bottom of the file. These lines control what icon is used for each file type. It also controls what mode is used for the file transfer. For example, to transfer all HTML files as binary, change the following two lines:</P
><P
><P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>ext=.htm:world.xpm:A:</TT
><br>
<TT
CLASS="LITERAL"
>ext=.html:world.xpm:A:</TT
></P
></P
><P
>to the following:</P
><P
><P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>ext=.htm:world.xpm:B:</TT
><br>
<TT
CLASS="LITERAL"
>ext=.html:world.xpm:B:</TT
></P
></P
></DIV
></DIV
><DIV
CLASS="CHAPTER"
><HR><H1
><A
NAME="AEN138"
></A
>Chapter 2. FTP Protocol</H1
><DIV
CLASS="SECT1"
><H2
CLASS="SECT1"
><A
NAME="AEN140"
>2.1. When gFTP tries to get the remote directory listing, the remote server
complains about either the -a or -L argument to LIST.</A
></H2
><P
>If the server is complaining about the -L option, go under
<SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>FTP->Options->FTP</I
></SPAN
> and disable resolve remote symlinks.
If it is complaining about the -a option, go to
<SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>FTP->Options->General</I
></SPAN
> and disable show hidden
files.</P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN145"
>2.2. When gFTP tries to get the remote directory listing, I receive the
error: <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Cannot create a data connection: Connection
refused</I
></SPAN
></A
></H2
><P
>Go under <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>FTP->Options->FTP</I
></SPAN
> and turn off passive
file transfers. Instead of sending the PASV command to open up the data
connection on the server side, the data connection will be opened up on the
client side, and the PORT command will be sent to the server instead.</P
></DIV
></DIV
><DIV
CLASS="CHAPTER"
><HR><H1
><A
NAME="AEN150"
></A
>Chapter 3. HTTP Protocol</H1
><DIV
CLASS="SECT1"
><H2
CLASS="SECT1"
><A
NAME="AEN152"
>3.1. How do I set up my HTTP Proxy server?</A
></H2
><P
>Go under <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>FTP->Options</I
></SPAN
> and hit the FTP tab. Enter
HTTP as the proxy type and fill in your proxy server info on that screen.
Then hit the HTTP tab and enter your same proxy server info there.</P
></DIV
></DIV
><DIV
CLASS="CHAPTER"
><HR><H1
><A
NAME="AEN156"
></A
>Chapter 4. SSH Protocol</H1
><DIV
CLASS="SECT1"
><H2
CLASS="SECT1"
><A
NAME="AEN158"
>4.1. gFTP will not log into the remote SSH server when using a non-English
locale.</A
></H2
><P
>Note: This answer only applies to versions of gFTP >= 2.0.18</P
><P
>You will need to download the source code to gFTP and edit the appropriate
po/<lang>.po file. You will need to make sure the following strings
are translated exactly as they appear in the SSH client.</P
><P
></P
><UL
><LI
><P
>Enter passphrase for RSA key</P
></LI
><LI
><P
>Enter passphrase for key</P
></LI
><LI
><P
>Password</P
></LI
><LI
><P
>password</P
></LI
></UL
><P
>Please upload the changes to the PO file to GNOME's SVN or email me the
updated PO file. If you email me the updates, please make sure that you
grab the latest PO file from SVN.</P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN172"
>4.2. I'm having problems getting SSH2 transfers to work. I keep getting the
error: <SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Error: Message size XXXXXXXX too big from server</I
></SPAN
></A
></H2
><P
>Note: This answer only applies to versions of gFTP <= 2.0.17</P
><P
>What probably is the problem, sftp-server isn't in your path on the
remote server. When you try to connect to the remote server, you'll see the
command gFTP is trying to run, and it'll look something like:</P
><P
><P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>ssh -e none -l username hostname "echo -n xsftp ; sftp-server"</TT
></P
></P
><P
>Try running this command. If you get a prompt asking:</P
><P
><P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>The authenticity of host 'hostname (###.###.###.###)' can't be established.</TT
><br>
<TT
CLASS="LITERAL"
>RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.</TT
><br>
<TT
CLASS="LITERAL"
>Are you sure you want to continue connecting (yes/no)?</TT
></P
></P
><P
>Tell it yes. gFTP won't even try to answer this question for you at the
moment. Then, if you get the following output:</P
><P
><P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>Enter passphrase for key '/home/brian/.ssh/id_dsa':</TT
><br>
<TT
CLASS="LITERAL"
>xsftp</TT
><br>
<TT
CLASS="LITERAL"
>bash: sftp-server: command not found</TT
></P
></P
><P
>You'll have to set the path to the sftp-server program. Alternatively
you could go under FTP->Options->SSH and enable Use sftp subsys. If you enable
this, then you don't have to know the remote path to your sftp executable.
But if you enable this, gFTP won't be able to send your password over to
the ssh client. So if you're not using ssh-agent, then ssh will spawn the
ssh-askpass program to grab your password.</P
></DIV
><DIV
CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
NAME="AEN193"
>4.3. What is the difference between the SSH and SSH2 protocols?</A
></H2
><P
>Note: This answer only applies to versions of gFTP <= 2.0.15</P
><P
>The SSH protocol uses sftp >= 0.7 from
<A
HREF="http://www.xbill.org/sftp"
TARGET="_top"
>http://www.xbill.org/sftp</A
>.
SSH2 uses the native file transfers found in the commercial SSH2 and in later
versions of OpenSSH. The SSH2 protocol uses the sftp-server executable on
the remote host and the SSH protocol uses the sftpserv executable.</P
><P
>Note: Due to confusion, the origional SSH protocol was removed in gFTP
2.0.15. It is not shown in gFTP 2.0.14, but there is a config option called
enable_old_ssh to enable this protocol.</P
></DIV
></DIV
><DIV
CLASS="CHAPTER"
><HR><H1
><A
NAME="AEN199"
></A
>Chapter 5. SSL Issues</H1
><DIV
CLASS="SECT1"
><H2
CLASS="SECT1"
><A
NAME="AEN201"
>5.1. When using the FTPS or HTTPS protocol, gFTP cannot connect if the remote
server uses a self signed certificate.</A
></H2
><P
>You must add the public key of your self signed CA to your OpenSSL
certs directory. On my Debian box, the OpenSSL certs are installed in
/usr/lib/ssl/certs.</P
></DIV
></DIV
><DIV
CLASS="CHAPTER"
><HR><H1
><A
NAME="AEN204"
></A
>Chapter 6. Compiling Problems</H1
><DIV
CLASS="SECT1"
><H2
CLASS="SECT1"
><A
NAME="AEN206"
>6.1. When I try to compile gFTP, I see undefined symbol
<SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>libintl_gettext</I
></SPAN
>. Or, another error is
<SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>undefined symbol LC_ALL.</I
></SPAN
></A
></H2
><P
>Try running </P
><P
><P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>make distclean ; configure --with-included-gettext.</TT
></P
></P
><P
>You could alternatively pass
<P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>--disable-nls</TT
></P
>
to configure, and internationalization support will not be compiled in.</P
></DIV
></DIV
></DIV
></BODY
></HTML
>
|