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