[d47e7ea9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/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">
|
---|
[108485b3] | 8 | <!ENTITY ncftp-download-ftp "ftp://ftp.ncftp.com/ncftp/ncftp-&ncftp-version;-src.tar.bz2">
|
---|
[6f8ecea] | 9 | <!ENTITY ncftp-md5sum "d82cdfe0d5448172c03b434607414fb8">
|
---|
| 10 | <!ENTITY ncftp-size "409 KB">
|
---|
| 11 | <!ENTITY ncftp-buildsize "9.8 MB">
|
---|
| 12 | <!ENTITY ncftp-time "0.2 SBU">
|
---|
[d47e7ea9] | 13 | ]>
|
---|
| 14 |
|
---|
[377584f] | 15 | <sect1 id="ncftp" xreflabel="NcFTP-&ncftp-version;">
|
---|
[ef3ec45] | 16 | <?dbhtml filename="ncftp.html"?>
|
---|
[bab92281] | 17 |
|
---|
[ef3ec45] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[bab92281] | 22 |
|
---|
[377584f] | 23 | <title>NcFTP-&ncftp-version;</title>
|
---|
[bab92281] | 24 |
|
---|
[ef3ec45] | 25 | <indexterm zone="ncftp">
|
---|
| 26 | <primary sortas="a-NcFTP">NcFTP</primary>
|
---|
| 27 | </indexterm>
|
---|
[bab92281] | 28 |
|
---|
[ef3ec45] | 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to NcFTP</title>
|
---|
| 31 |
|
---|
[17e6d48] | 32 | <para>The <application>NcFTP</application> package contains
|
---|
| 33 | a powerful and flexible interface to the Internet standard File Transfer
|
---|
| 34 | Protocol. It is intended to replace or supplement the stock
|
---|
[ef3ec45] | 35 | <command>ftp</command> program.</para>
|
---|
[bab92281] | 36 |
|
---|
[ef3ec45] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&ncftp-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&ncftp-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &ncftp-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &ncftp-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &ncftp-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[2174baa] | 55 | <para>Estimated build time: &ncftp-time;</para>
|
---|
| 56 | </listitem>
|
---|
[ef3ec45] | 57 | </itemizedlist>
|
---|
[bab92281] | 58 |
|
---|
[061ec9d] | 59 | <para condition="html" role="usernotes">User Notes:
|
---|
| 60 | <ulink url="&blfs-wiki;/ncftp"/></para>
|
---|
| 61 |
|
---|
[ef3ec45] | 62 | </sect2>
|
---|
[bab92281] | 63 |
|
---|
[ef3ec45] | 64 | <sect2 role="installation">
|
---|
| 65 | <title>Installation of NcFTP</title>
|
---|
| 66 |
|
---|
[bbdb0ff4] | 67 | <para>There are two ways to build <application>NcFTP</application>.
|
---|
[17e6d48] | 68 | The first (and optimal) way builds most of the functionality as a shared library
|
---|
| 69 | and then builds and installs the program linked against this library. The
|
---|
| 70 | second method simply links all of the functionality into the binary statically.
|
---|
[bbdb0ff4] | 71 | This doesn't make the dynamic library available for linking by other applications.
|
---|
[17e6d48] | 72 | You need to choose which method best suits you. Note that the second method
|
---|
| 73 | does <emphasis>not</emphasis> create an entirely statically linked binary;
|
---|
| 74 | only the <filename class="libraryfile">libncftp</filename> parts are statically
|
---|
| 75 | linked in, in this case. Be aware that building and using the shared library is
|
---|
| 76 | covered by the Clarified Artistic License; however, developing applications that
|
---|
[ef3ec45] | 77 | utilize the shared library is subject to a different license.</para>
|
---|
[bab92281] | 78 |
|
---|
[17e6d48] | 79 | <para>To install <application>NcFTP</application> using the
|
---|
[ef3ec45] | 80 | first (and optimal) method, run the following commands:</para>
|
---|
| 81 |
|
---|
| 82 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[6f8ecea] | 83 | make -C libncftp shared &&
|
---|
| 84 | make</userinput></screen>
|
---|
[108485b3] | 85 |
|
---|
[6f8ecea] | 86 | <para>This package does not come with a test suite.</para>
|
---|
[108485b3] | 87 |
|
---|
[6f8ecea] | 88 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[108485b3] | 89 |
|
---|
[6f8ecea] | 90 | <screen role='root'><userinput>make -C libncftp soinstall &&
|
---|
| 91 | make install</userinput></screen>
|
---|
[d47e7ea9] | 92 |
|
---|
[17e6d48] | 93 | <para>To install <application>NcFTP</application> using the
|
---|
[bab92281] | 94 | second method (with the <filename class="libraryfile">libncftp</filename>
|
---|
[ef3ec45] | 95 | functionality linked in statically) run the following commands:</para>
|
---|
[d47e7ea9] | 96 |
|
---|
[ef3ec45] | 97 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[108485b3] | 98 | make</userinput></screen>
|
---|
| 99 |
|
---|
[6f8ecea] | 100 | <para>This package does not come with a test suite.</para>
|
---|
| 101 |
|
---|
[108485b3] | 102 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 103 |
|
---|
| 104 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
[bab92281] | 105 |
|
---|
[ef3ec45] | 106 | </sect2>
|
---|
[bab92281] | 107 |
|
---|
[ef3ec45] | 108 | <sect2 role="commands">
|
---|
| 109 | <title>Command Explanations</title>
|
---|
| 110 |
|
---|
| 111 | <para><command>make -C ... && make -C ...</command>:
|
---|
| 112 | These commands make and install the dynamic library <filename
|
---|
| 113 | class="libraryfile">libncftp</filename> which is then used to link
|
---|
| 114 | against when compiling the main program.</para>
|
---|
[bab92281] | 115 |
|
---|
[ef3ec45] | 116 | </sect2>
|
---|
[bab92281] | 117 |
|
---|
[ef3ec45] | 118 | <sect2 role="configuration">
|
---|
| 119 | <title>Configuring NcFTP</title>
|
---|
[bab92281] | 120 |
|
---|
[ef3ec45] | 121 | <sect3 id="ncftp-config">
|
---|
| 122 | <title>Config Files</title>
|
---|
[bab92281] | 123 |
|
---|
[6f8ecea] | 124 | <para><filename>/etc/ncftp.*</filename> and
|
---|
| 125 | <filename>~/.ncftp/*</filename>; especially
|
---|
| 126 | <filename>/etc/ncftp.prefs_v3</filename> and
|
---|
[ef3ec45] | 127 | <filename>~/.ncftp/prefs_v3</filename></para>
|
---|
[bab92281] | 128 |
|
---|
[ef3ec45] | 129 | <indexterm zone="ncftp ncftp-config">
|
---|
| 130 | <primary sortas="e-AA.ncftp/*">~/.ncftp/*</primary>
|
---|
| 131 | </indexterm>
|
---|
[bab92281] | 132 |
|
---|
[6f8ecea] | 133 | <indexterm zone="ncftp ncftp-config">
|
---|
| 134 | <primary sortas="e-etc-ncftp.*">/etc/ncftp.*</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 |
|
---|
[ef3ec45] | 137 | </sect3>
|
---|
[bab92281] | 138 |
|
---|
[ef3ec45] | 139 | <sect3>
|
---|
| 140 | <title>Configuration Information</title>
|
---|
| 141 |
|
---|
[17e6d48] | 142 | <para>Most <application>NcFTP</application> configuration
|
---|
| 143 | is done while in the program, and the configuration files are dealt with
|
---|
| 144 | automatically. One exception to this is <filename>~/.ncftp/prefs_v3</filename>.
|
---|
[ef3ec45] | 145 | There are various options to alter in there, including:</para>
|
---|
| 146 |
|
---|
[bab92281] | 147 | <screen><literal>yes-i-know-about-NcFTPd=yes</literal></screen>
|
---|
[ef3ec45] | 148 |
|
---|
| 149 | <para>This disables the splash screen advertising the
|
---|
| 150 | <application>NcFTPd</application> server.</para>
|
---|
[bab92281] | 151 |
|
---|
[6f8ecea] | 152 | <para>There are other options in the <filename>prefs_v3</filename> file.
|
---|
| 153 | Most of these are self-explanatory. Global defaults can be set in
|
---|
| 154 | <filename>/etc/ncftp.prefs_v3</filename>.</para>
|
---|
[bab92281] | 155 |
|
---|
[ef3ec45] | 156 | </sect3>
|
---|
[bab92281] | 157 |
|
---|
[ef3ec45] | 158 | </sect2>
|
---|
[bab92281] | 159 |
|
---|
[ef3ec45] | 160 | <sect2 role="content">
|
---|
| 161 | <title>Contents</title>
|
---|
[bab92281] | 162 |
|
---|
[ef3ec45] | 163 | <segmentedlist>
|
---|
| 164 | <segtitle>Installed Programs</segtitle>
|
---|
| 165 | <segtitle>Installed Library</segtitle>
|
---|
| 166 | <segtitle>Installed Directories</segtitle>
|
---|
[bab92281] | 167 |
|
---|
[ef3ec45] | 168 | <seglistitem>
|
---|
| 169 | <seg>ncftp, ncftpbatch, ncftpbookmarks, ncftpget,
|
---|
| 170 | ncftpls, ncftpput, and ncftpspooler</seg>
|
---|
[108485b3] | 171 | <seg>libncftp.so</seg>
|
---|
| 172 | <seg>None</seg>
|
---|
[ef3ec45] | 173 | </seglistitem>
|
---|
| 174 | </segmentedlist>
|
---|
[bab92281] | 175 |
|
---|
[ef3ec45] | 176 | <variablelist>
|
---|
| 177 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 178 | <?dbfo list-presentation="list"?>
|
---|
| 179 | <?dbhtml list-presentation="table"?>
|
---|
[bab92281] | 180 |
|
---|
[ef3ec45] | 181 | <varlistentry id="ncftp-prog">
|
---|
| 182 | <term><command>ncftp</command></term>
|
---|
| 183 | <listitem>
|
---|
[339fbfb9] | 184 | <para>is a browser program for File Transfer Protocol.</para>
|
---|
[ef3ec45] | 185 | <indexterm zone="ncftp ncftp-prog">
|
---|
| 186 | <primary sortas="b-ncftp">ncftp</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
[bab92281] | 190 |
|
---|
[ef3ec45] | 191 | <varlistentry id="ncftpbatch">
|
---|
| 192 | <term><command>ncftpbatch</command></term>
|
---|
| 193 | <listitem>
|
---|
[339fbfb9] | 194 | <para>is an individual batch FTP job processor.</para>
|
---|
[ef3ec45] | 195 | <indexterm zone="ncftp ncftpbatch">
|
---|
| 196 | <primary sortas="b-ncftpbatch">ncftpbatch</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
[bab92281] | 200 |
|
---|
[ef3ec45] | 201 | <varlistentry id="ncftpbookmarks">
|
---|
| 202 | <term><command>ncftpbookmarks</command></term>
|
---|
| 203 | <listitem>
|
---|
[339fbfb9] | 204 | <para>is the <application>NcFTP</application> Bookmark Editor
|
---|
[ef3ec45] | 205 | (<application>NCurses</application>-based).</para>
|
---|
| 206 | <indexterm zone="ncftp ncftpbookmarks">
|
---|
| 207 | <primary sortas="b-ncftpbookmarks">ncftpbookmarks</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
[bab92281] | 211 |
|
---|
[ef3ec45] | 212 | <varlistentry id="ncftpget">
|
---|
| 213 | <term><command>ncftpget</command></term>
|
---|
| 214 | <listitem>
|
---|
[339fbfb9] | 215 | <para>is an internet file transfer program for scripts used to
|
---|
| 216 | retrieve files.</para>
|
---|
[ef3ec45] | 217 | <indexterm zone="ncftp ncftpget">
|
---|
| 218 | <primary sortas="b-ncftpget">ncftpget</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
[bab92281] | 222 |
|
---|
[ef3ec45] | 223 | <varlistentry id="ncftpls">
|
---|
| 224 | <term><command>ncftpls</command></term>
|
---|
| 225 | <listitem>
|
---|
[339fbfb9] | 226 | <para>is an internet file transfer program for scripts used to
|
---|
| 227 | list files.</para>
|
---|
[ef3ec45] | 228 | <indexterm zone="ncftp ncftpls">
|
---|
| 229 | <primary sortas="b-ncftpls">ncftpls</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
[bab92281] | 233 |
|
---|
[ef3ec45] | 234 | <varlistentry id="ncftpput">
|
---|
| 235 | <term><command>ncftpput</command></term>
|
---|
| 236 | <listitem>
|
---|
[339fbfb9] | 237 | <para>is an internet file transfer program for scripts used to
|
---|
| 238 | transfer files.</para>
|
---|
[ef3ec45] | 239 | <indexterm zone="ncftp ncftpput">
|
---|
| 240 | <primary sortas="b-ncftpput">ncftpput</primary>
|
---|
| 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
[bab92281] | 244 |
|
---|
[ef3ec45] | 245 | <varlistentry id="ncftpspooler">
|
---|
| 246 | <term><command>ncftpspooler</command></term>
|
---|
| 247 | <listitem>
|
---|
[339fbfb9] | 248 | <para>is a global batch FTP job processor daemon.</para>
|
---|
[ef3ec45] | 249 | <indexterm zone="ncftp ncftpspooler">
|
---|
| 250 | <primary sortas="b-ncftpspooler">ncftpspooler</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
[bab92281] | 254 |
|
---|
[ef3ec45] | 255 | </variablelist>
|
---|
[bab92281] | 256 |
|
---|
[ef3ec45] | 257 | </sect2>
|
---|
[bab92281] | 258 |
|
---|
[f45b1953] | 259 | </sect1>
|
---|