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