[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 |
|
---|
| 7 | <!ENTITY ncftp-download-http "http://gd.tuwien.ac.at/infosys/clients/ftp/ncftp/ncftp-&ncftp-version;-src.tar.bz2">
|
---|
[55c657e] | 8 | <!-- <!ENTITY ncftp-download-ftp "ftp://ftp.ncftp.com/ncftp/ncftp-&ncftp-version;-src.tar.bz2"> -->
|
---|
[108485b3] | 9 | <!ENTITY ncftp-download-ftp "ftp://ftp.ncftp.com/ncftp/ncftp-&ncftp-version;-src.tar.bz2">
|
---|
| 10 | <!ENTITY ncftp-md5sum "66cf8dacec848eb11a70632fe9f21807">
|
---|
| 11 | <!ENTITY ncftp-size "401 KB">
|
---|
| 12 | <!ENTITY ncftp-buildsize "9.9 MB">
|
---|
| 13 | <!ENTITY ncftp-time "0.3 SBU">
|
---|
[d47e7ea9] | 14 | ]>
|
---|
| 15 |
|
---|
[377584f] | 16 | <sect1 id="ncftp" xreflabel="NcFTP-&ncftp-version;">
|
---|
[ef3ec45] | 17 | <?dbhtml filename="ncftp.html"?>
|
---|
[bab92281] | 18 |
|
---|
[ef3ec45] | 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
[4dbbf634] | 22 | <keywordset>
|
---|
| 23 | <keyword role="package">ncftp-&ncftp-version;-src.tar</keyword>
|
---|
[25475f5] | 24 | <keyword role="ftpdir">ncftp</keyword>
|
---|
[4dbbf634] | 25 | </keywordset>
|
---|
[ef3ec45] | 26 | </sect1info>
|
---|
[bab92281] | 27 |
|
---|
[377584f] | 28 | <title>NcFTP-&ncftp-version;</title>
|
---|
[bab92281] | 29 |
|
---|
[ef3ec45] | 30 | <indexterm zone="ncftp">
|
---|
| 31 | <primary sortas="a-NcFTP">NcFTP</primary>
|
---|
| 32 | </indexterm>
|
---|
[bab92281] | 33 |
|
---|
[ef3ec45] | 34 | <sect2 role="package">
|
---|
| 35 | <title>Introduction to NcFTP</title>
|
---|
| 36 |
|
---|
[17e6d48] | 37 | <para>The <application>NcFTP</application> package contains
|
---|
| 38 | a powerful and flexible interface to the Internet standard File Transfer
|
---|
| 39 | Protocol. It is intended to replace or supplement the stock
|
---|
[ef3ec45] | 40 | <command>ftp</command> program.</para>
|
---|
[bab92281] | 41 |
|
---|
[ef3ec45] | 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (HTTP): <ulink url="&ncftp-download-http;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download (FTP): <ulink url="&ncftp-download-ftp;"/></para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download MD5 sum: &ncftp-md5sum;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download size: &ncftp-size;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated disk space required: &ncftp-buildsize;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[2174baa] | 60 | <para>Estimated build time: &ncftp-time;</para>
|
---|
| 61 | </listitem>
|
---|
[ef3ec45] | 62 | </itemizedlist>
|
---|
[bab92281] | 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 |
|
---|
| 84 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[108485b3] | 85 | make -C libncftp shared</userinput></screen>
|
---|
| 86 |
|
---|
| 87 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 88 |
|
---|
| 89 | <screen role='root'><userinput>make -C libncftp soinstall</userinput></screen>
|
---|
| 90 |
|
---|
[e615d9b] | 91 | <para>Again, as an unprivileged user:</para>
|
---|
[108485b3] | 92 |
|
---|
| 93 | <screen><userinput>make</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | <para>Again, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 96 |
|
---|
| 97 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
[d47e7ea9] | 98 |
|
---|
[17e6d48] | 99 | <para>To install <application>NcFTP</application> using the
|
---|
[bab92281] | 100 | second method (with the <filename class="libraryfile">libncftp</filename>
|
---|
[ef3ec45] | 101 | functionality linked in statically) run the following commands:</para>
|
---|
[d47e7ea9] | 102 |
|
---|
[ef3ec45] | 103 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[108485b3] | 104 | make</userinput></screen>
|
---|
| 105 |
|
---|
| 106 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 107 |
|
---|
| 108 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
[bab92281] | 109 |
|
---|
[ef3ec45] | 110 | </sect2>
|
---|
[bab92281] | 111 |
|
---|
[ef3ec45] | 112 | <sect2 role="commands">
|
---|
| 113 | <title>Command Explanations</title>
|
---|
| 114 |
|
---|
| 115 | <para><command>make -C ... && make -C ...</command>:
|
---|
| 116 | These commands make and install the dynamic library <filename
|
---|
| 117 | class="libraryfile">libncftp</filename> which is then used to link
|
---|
| 118 | against when compiling the main program.</para>
|
---|
[bab92281] | 119 |
|
---|
[ef3ec45] | 120 | </sect2>
|
---|
[bab92281] | 121 |
|
---|
[ef3ec45] | 122 | <sect2 role="configuration">
|
---|
| 123 | <title>Configuring NcFTP</title>
|
---|
[bab92281] | 124 |
|
---|
[ef3ec45] | 125 | <sect3 id="ncftp-config">
|
---|
| 126 | <title>Config Files</title>
|
---|
[bab92281] | 127 |
|
---|
[ef3ec45] | 128 | <para><filename>~/.ncftp/*</filename>; especially
|
---|
| 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 |
|
---|
[ef3ec45] | 135 | </sect3>
|
---|
[bab92281] | 136 |
|
---|
[ef3ec45] | 137 | <sect3>
|
---|
| 138 | <title>Configuration Information</title>
|
---|
| 139 |
|
---|
[17e6d48] | 140 | <para>Most <application>NcFTP</application> configuration
|
---|
| 141 | is done while in the program, and the configuration files are dealt with
|
---|
| 142 | automatically. One exception to this is <filename>~/.ncftp/prefs_v3</filename>.
|
---|
[ef3ec45] | 143 | There are various options to alter in there, including:</para>
|
---|
| 144 |
|
---|
[bab92281] | 145 | <screen><literal>yes-i-know-about-NcFTPd=yes</literal></screen>
|
---|
[ef3ec45] | 146 |
|
---|
| 147 | <para>This disables the splash screen advertising the
|
---|
| 148 | <application>NcFTPd</application> server.</para>
|
---|
[bab92281] | 149 |
|
---|
[17e6d48] | 150 | <para>There are other options in the <filename>prefs_v3</filename> file. Most
|
---|
[ef3ec45] | 151 | of these are self-explanatory.</para>
|
---|
[bab92281] | 152 |
|
---|
[ef3ec45] | 153 | </sect3>
|
---|
[bab92281] | 154 |
|
---|
[ef3ec45] | 155 | </sect2>
|
---|
[bab92281] | 156 |
|
---|
[ef3ec45] | 157 | <sect2 role="content">
|
---|
| 158 | <title>Contents</title>
|
---|
[bab92281] | 159 |
|
---|
[ef3ec45] | 160 | <segmentedlist>
|
---|
| 161 | <segtitle>Installed Programs</segtitle>
|
---|
| 162 | <segtitle>Installed Library</segtitle>
|
---|
| 163 | <segtitle>Installed Directories</segtitle>
|
---|
[bab92281] | 164 |
|
---|
[ef3ec45] | 165 | <seglistitem>
|
---|
| 166 | <seg>ncftp, ncftpbatch, ncftpbookmarks, ncftpget,
|
---|
| 167 | ncftpls, ncftpput, and ncftpspooler</seg>
|
---|
[108485b3] | 168 | <seg>libncftp.so</seg>
|
---|
| 169 | <seg>None</seg>
|
---|
[ef3ec45] | 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
[bab92281] | 172 |
|
---|
[ef3ec45] | 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
[bab92281] | 177 |
|
---|
[ef3ec45] | 178 | <varlistentry id="ncftp-prog">
|
---|
| 179 | <term><command>ncftp</command></term>
|
---|
| 180 | <listitem>
|
---|
[339fbfb9] | 181 | <para>is a browser program for File Transfer Protocol.</para>
|
---|
[ef3ec45] | 182 | <indexterm zone="ncftp ncftp-prog">
|
---|
| 183 | <primary sortas="b-ncftp">ncftp</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
[bab92281] | 187 |
|
---|
[ef3ec45] | 188 | <varlistentry id="ncftpbatch">
|
---|
| 189 | <term><command>ncftpbatch</command></term>
|
---|
| 190 | <listitem>
|
---|
[339fbfb9] | 191 | <para>is an individual batch FTP job processor.</para>
|
---|
[ef3ec45] | 192 | <indexterm zone="ncftp ncftpbatch">
|
---|
| 193 | <primary sortas="b-ncftpbatch">ncftpbatch</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
[bab92281] | 197 |
|
---|
[ef3ec45] | 198 | <varlistentry id="ncftpbookmarks">
|
---|
| 199 | <term><command>ncftpbookmarks</command></term>
|
---|
| 200 | <listitem>
|
---|
[339fbfb9] | 201 | <para>is the <application>NcFTP</application> Bookmark Editor
|
---|
[ef3ec45] | 202 | (<application>NCurses</application>-based).</para>
|
---|
| 203 | <indexterm zone="ncftp ncftpbookmarks">
|
---|
| 204 | <primary sortas="b-ncftpbookmarks">ncftpbookmarks</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
[bab92281] | 208 |
|
---|
[ef3ec45] | 209 | <varlistentry id="ncftpget">
|
---|
| 210 | <term><command>ncftpget</command></term>
|
---|
| 211 | <listitem>
|
---|
[339fbfb9] | 212 | <para>is an internet file transfer program for scripts used to
|
---|
| 213 | retrieve files.</para>
|
---|
[ef3ec45] | 214 | <indexterm zone="ncftp ncftpget">
|
---|
| 215 | <primary sortas="b-ncftpget">ncftpget</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
[bab92281] | 219 |
|
---|
[ef3ec45] | 220 | <varlistentry id="ncftpls">
|
---|
| 221 | <term><command>ncftpls</command></term>
|
---|
| 222 | <listitem>
|
---|
[339fbfb9] | 223 | <para>is an internet file transfer program for scripts used to
|
---|
| 224 | list files.</para>
|
---|
[ef3ec45] | 225 | <indexterm zone="ncftp ncftpls">
|
---|
| 226 | <primary sortas="b-ncftpls">ncftpls</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
[bab92281] | 230 |
|
---|
[ef3ec45] | 231 | <varlistentry id="ncftpput">
|
---|
| 232 | <term><command>ncftpput</command></term>
|
---|
| 233 | <listitem>
|
---|
[339fbfb9] | 234 | <para>is an internet file transfer program for scripts used to
|
---|
| 235 | transfer files.</para>
|
---|
[ef3ec45] | 236 | <indexterm zone="ncftp ncftpput">
|
---|
| 237 | <primary sortas="b-ncftpput">ncftpput</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
[bab92281] | 241 |
|
---|
[ef3ec45] | 242 | <varlistentry id="ncftpspooler">
|
---|
| 243 | <term><command>ncftpspooler</command></term>
|
---|
| 244 | <listitem>
|
---|
[339fbfb9] | 245 | <para>is a global batch FTP job processor daemon.</para>
|
---|
[ef3ec45] | 246 | <indexterm zone="ncftp ncftpspooler">
|
---|
| 247 | <primary sortas="b-ncftpspooler">ncftpspooler</primary>
|
---|
| 248 | </indexterm>
|
---|
| 249 | </listitem>
|
---|
| 250 | </varlistentry>
|
---|
[bab92281] | 251 |
|
---|
[ef3ec45] | 252 | </variablelist>
|
---|
[bab92281] | 253 |
|
---|
[ef3ec45] | 254 | </sect2>
|
---|
[bab92281] | 255 |
|
---|
[f45b1953] | 256 | </sect1>
|
---|