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