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