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