[d47e7ea9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[d47e7ea9] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY ncftp-download-http "http://gd.tuwien.ac.at/infosys/clients/ftp/ncftp/ncftp-&ncftp-version;-src.tar.bz2">
|
---|
[55c657e] | 8 | <!-- <!ENTITY ncftp-download-ftp "ftp://ftp.ncftp.com/ncftp/ncftp-&ncftp-version;-src.tar.bz2"> -->
|
---|
| 9 | <!ENTITY ncftp-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/ncftp-&ncftp-version;-src.tar.bz2">
|
---|
| 10 | <!ENTITY ncftp-md5sum "2a310a3c9ca126e6b409d0d1d1ccda75">
|
---|
[d47e7ea9] | 11 | <!ENTITY ncftp-size "389 KB">
|
---|
| 12 | <!ENTITY ncftp-buildsize "5.2 MB">
|
---|
| 13 | <!ENTITY ncftp-time "0.38 SBU">
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
[377584f] | 16 | <sect1 id="ncftp" xreflabel="NcFTP-&ncftp-version;">
|
---|
[a0f03b0] | 17 | <sect1info>
|
---|
[5cd0959d] | 18 | <othername>$LastChangedBy$</othername>
|
---|
| 19 | <date>$Date$</date>
|
---|
[a0f03b0] | 20 | </sect1info>
|
---|
[00bb024c] | 21 | <?dbhtml filename="ncftp.html"?>
|
---|
[377584f] | 22 | <title>NcFTP-&ncftp-version;</title>
|
---|
[f45b1953] | 23 |
|
---|
[d47e7ea9] | 24 | <sect2>
|
---|
[f5f7f9d] | 25 | <title>Introduction to
|
---|
| 26 | <application>Nc<acronym>FTP</acronym></application></title>
|
---|
[d47e7ea9] | 27 |
|
---|
[f5f7f9d] | 28 | <para>The <application>Nc<acronym>FTP</acronym></application> package contains
|
---|
| 29 | a powerful and flexible interface to the Internet standard File Transfer
|
---|
| 30 | Protocol. It is intended to replace or supplement the stock
|
---|
| 31 | <command>ftp</command> program.</para>
|
---|
[d47e7ea9] | 32 |
|
---|
| 33 | <sect3><title>Package information</title>
|
---|
| 34 | <itemizedlist spacing='compact'>
|
---|
| 35 | <listitem><para>Download (HTTP): <ulink
|
---|
| 36 | url="&ncftp-download-http;"/></para></listitem>
|
---|
| 37 | <listitem><para>Download (FTP): <ulink
|
---|
| 38 | url="&ncftp-download-ftp;"/></para></listitem>
|
---|
[f5f7f9d] | 39 | <listitem><para>Download MD5 sum: &ncftp-md5sum;</para></listitem>
|
---|
[d47e7ea9] | 40 | <listitem><para>Download size: &ncftp-size;</para></listitem>
|
---|
[518538f] | 41 | <listitem><para>Estimated disk space required:
|
---|
[d47e7ea9] | 42 | &ncftp-buildsize;</para></listitem>
|
---|
| 43 | <listitem><para>Estimated build time:
|
---|
| 44 | &ncftp-time;</para></listitem></itemizedlist>
|
---|
| 45 | </sect3>
|
---|
| 46 |
|
---|
| 47 | </sect2>
|
---|
| 48 |
|
---|
| 49 | <sect2>
|
---|
[f5f7f9d] | 50 | <title>Installation of
|
---|
| 51 | <application>Nc<acronym>FTP</acronym></application></title>
|
---|
[d47e7ea9] | 52 |
|
---|
[f5f7f9d] | 53 | <para>There are two ways to build
|
---|
| 54 | <application>Nc<acronym>FTP</acronym></application>. The first
|
---|
[d47e7ea9] | 55 | (and optimal) way builds most of the functionality as a shared library and
|
---|
| 56 | then builds and installs the program linked against this library. The second
|
---|
| 57 | method simply links all of the functionality into the binary statically. This
|
---|
| 58 | doesn't make the dynamic library available for linking by other
|
---|
| 59 | applications. You need to choose which method best suits you. Note
|
---|
| 60 | that the second method does <emphasis>not</emphasis> create an entirely
|
---|
[f5f7f9d] | 61 | statically linked binary; only the
|
---|
| 62 | <filename class="libraryfile">libncftp</filename> parts are
|
---|
[d47e7ea9] | 63 | statically linked in, in this case. Be aware that building and using the shared
|
---|
| 64 | library is covered by the Clarified Artistic License; however, developing
|
---|
[f5f7f9d] | 65 | applications that utilize the shared library is subject to a different
|
---|
| 66 | license.</para>
|
---|
[d47e7ea9] | 67 |
|
---|
[f5f7f9d] | 68 | <para>To install <application>Nc<acronym>FTP</acronym></application> using the
|
---|
| 69 | first (and optimal) method, run the following commands:</para>
|
---|
[d47e7ea9] | 70 |
|
---|
| 71 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 72 | make -C libncftp shared &&
|
---|
| 73 | make -C libncftp soinstall &&
|
---|
| 74 | make &&
|
---|
| 75 | make install</command></userinput></screen>
|
---|
| 76 |
|
---|
[f5f7f9d] | 77 | <para>To install <application>Nc<acronym>FTP</acronym></application> using the
|
---|
| 78 | second method (with the <filename class="libraryfile">libncftp</filename>
|
---|
| 79 | functionality linked in statically) run the following commands:</para>
|
---|
[d47e7ea9] | 80 |
|
---|
| 81 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 82 | make &&
|
---|
| 83 | make install</command></userinput></screen>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2>
|
---|
| 88 | <title>Command explanations</title>
|
---|
| 89 |
|
---|
| 90 | <para><screen><command>make -C libncftp shared
|
---|
| 91 | make -C libncftp soinstall</command></screen>
|
---|
| 92 | These commands make and install the dynamic library <filename
|
---|
| 93 | class="libraryfile">libncftp</filename> which is then used to link
|
---|
| 94 | against when compiling the main program.</para>
|
---|
| 95 |
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
| 98 | <sect2>
|
---|
| 99 | <title>Configuring <application>Nc<acronym>FTP</acronym></application></title>
|
---|
| 100 |
|
---|
| 101 | <sect3><title>Config files</title>
|
---|
| 102 | <para><filename>~/.ncftp/*</filename>; especially
|
---|
| 103 | <filename>~/.ncftp/prefs_v3</filename></para>
|
---|
| 104 | </sect3>
|
---|
| 105 |
|
---|
| 106 | <sect3><title>Configuration Information</title>
|
---|
| 107 |
|
---|
[f5f7f9d] | 108 | <para>Most <application>Nc<acronym>FTP</acronym></application> configuration
|
---|
| 109 | is done while in the program, and the configuration files are dealt with
|
---|
| 110 | automatically. One exception to this is <filename>~/.ncftp/prefs_v3</filename>.
|
---|
| 111 | There are various options to alter in there, including:</para>
|
---|
[d47e7ea9] | 112 |
|
---|
| 113 | <para><screen><userinput>yes-i-know-about-NcFTPd=yes</userinput></screen>
|
---|
| 114 | This disables the splash screen advertising the
|
---|
| 115 | <application>NcFTPd</application> server.</para>
|
---|
| 116 |
|
---|
[f5f7f9d] | 117 | <para>There are other options in the <filename>prefs_v3</filename> file. Most
|
---|
| 118 | of these are self-explanatory.</para>
|
---|
[d47e7ea9] | 119 | </sect3>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2>
|
---|
| 124 | <title>Contents</title>
|
---|
| 125 |
|
---|
| 126 | <para>The <application>Nc<acronym>FTP</acronym></application> package
|
---|
| 127 | contains <filename class="libraryfile">libncftp</filename>,
|
---|
| 128 | <command>ncftp</command>, <command>ncftpbatch
|
---|
| 129 | </command>, <command>ncftpbookmarks</command>,
|
---|
| 130 | <command>ncftpget</command>, <command>ncftpls</command>,
|
---|
| 131 | <command>ncftpput</command> and <command>ncftpspooler</command>.</para>
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <sect2><title>Description</title>
|
---|
| 135 |
|
---|
| 136 | <sect3><title>ncftp</title>
|
---|
| 137 | <para>A browser program for File Transfer Protocol.</para></sect3>
|
---|
| 138 |
|
---|
| 139 | <sect3><title>ncftpbatch</title>
|
---|
| 140 | <para>Individual batch <acronym>FTP</acronym> job processor.</para></sect3>
|
---|
| 141 |
|
---|
| 142 | <sect3><title>ncftpbookmarks</title>
|
---|
| 143 | <para><application>NcFTP</application> Bookmark Editor
|
---|
| 144 | (<application>NCurses</application>-based).</para></sect3>
|
---|
| 145 |
|
---|
| 146 | <sect3><title>ncftpget</title>
|
---|
| 147 | <para>Internet file transfer program for scripts.</para></sect3>
|
---|
| 148 |
|
---|
| 149 | <sect3><title>ncftpls</title>
|
---|
| 150 | <para>Internet file transfer program for scripts.</para></sect3>
|
---|
| 151 |
|
---|
| 152 | <sect3><title>ncftpput</title>
|
---|
| 153 | <para>Internet file transfer program for scripts.</para></sect3>
|
---|
| 154 |
|
---|
| 155 | <sect3><title>ncftpspooler</title>
|
---|
| 156 | <para>Global batch <acronym>FTP</acronym> job processor daemon.</para></sect3>
|
---|
| 157 |
|
---|
| 158 | </sect2>
|
---|
[f45b1953] | 159 |
|
---|
| 160 | </sect1>
|
---|
| 161 |
|
---|