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