1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY ncftp-download-http " ">
|
---|
8 | <!ENTITY ncftp-download-ftp "ftp://ftp.ncftp.com/ncftp/ncftp-&ncftp-version;-src.tar.xz">
|
---|
9 | <!ENTITY ncftp-md5sum "42d0f896d69a4d603ec097546444245f">
|
---|
10 | <!ENTITY ncftp-size "412 KB">
|
---|
11 | <!ENTITY ncftp-buildsize "6.6 MB">
|
---|
12 | <!ENTITY ncftp-time "0.2 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="ncftp" xreflabel="NcFTP-&ncftp-version;">
|
---|
16 | <?dbhtml filename="ncftp.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>NcFTP-&ncftp-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="ncftp">
|
---|
26 | <primary sortas="a-NcFTP">NcFTP</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to NcFTP</title>
|
---|
31 |
|
---|
32 | <para>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.</para>
|
---|
36 |
|
---|
37 | &lfs83_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>Download (HTTP): <ulink url="&ncftp-download-http;"/></para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download (FTP): <ulink url="&ncftp-download-ftp;"/></para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download MD5 sum: &ncftp-md5sum;</para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download size: &ncftp-size;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Estimated disk space required: &ncftp-buildsize;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Estimated build time: &ncftp-time;</para>
|
---|
58 | </listitem>
|
---|
59 | </itemizedlist>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect3">NcFTP Dependencies</bridgehead>
|
---|
62 |
|
---|
63 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
64 | <para role="optional">
|
---|
65 | <xref linkend="llvm"/> (with Clang, used by default if installed)
|
---|
66 | </para>
|
---|
67 |
|
---|
68 | <para condition="html" role="usernotes">User Notes:
|
---|
69 | <ulink url="&blfs-wiki;/ncftp"/></para>
|
---|
70 |
|
---|
71 | </sect2>
|
---|
72 |
|
---|
73 | <sect2 role="installation">
|
---|
74 | <title>Installation of NcFTP</title>
|
---|
75 |
|
---|
76 | <para>There are two ways to build <application>NcFTP</application>.
|
---|
77 | The first (and optimal) way builds most of the functionality as a shared library
|
---|
78 | and then builds and installs the program linked against this library. The
|
---|
79 | second method simply links all of the functionality into the binary statically.
|
---|
80 | This doesn't make the dynamic library available for linking by other applications.
|
---|
81 | You need to choose which method best suits you. Note that the second method
|
---|
82 | does <emphasis>not</emphasis> create an entirely statically linked binary;
|
---|
83 | only the <filename class="libraryfile">libncftp</filename> parts are statically
|
---|
84 | linked in, in this case. Be aware that building and using the shared library is
|
---|
85 | covered by the Clarified Artistic License; however, developing applications that
|
---|
86 | utilize the shared library is subject to a different license.</para>
|
---|
87 |
|
---|
88 | <para>To install <application>NcFTP</application> using the
|
---|
89 | first (and optimal) method, run the following commands:</para>
|
---|
90 |
|
---|
91 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
92 | make -C libncftp shared &&
|
---|
93 | make</userinput></screen>
|
---|
94 |
|
---|
95 | <para>This package does not come with a test suite.</para>
|
---|
96 |
|
---|
97 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
98 |
|
---|
99 | <screen role='root'><userinput>make -C libncftp soinstall &&
|
---|
100 | make install</userinput></screen>
|
---|
101 |
|
---|
102 | <para>To install <application>NcFTP</application> using the
|
---|
103 | second method (with the <filename class="libraryfile">libncftp</filename>
|
---|
104 | functionality linked in statically) run the following commands:</para>
|
---|
105 |
|
---|
106 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
107 | make</userinput></screen>
|
---|
108 |
|
---|
109 | <para>This package does not come with a test suite.</para>
|
---|
110 |
|
---|
111 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
112 |
|
---|
113 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
114 |
|
---|
115 | </sect2>
|
---|
116 |
|
---|
117 | <sect2 role="commands">
|
---|
118 | <title>Command Explanations</title>
|
---|
119 |
|
---|
120 | <para><command>make -C ... && make -C ...</command>:
|
---|
121 | These commands make and install the dynamic library <filename
|
---|
122 | class="libraryfile">libncftp</filename> which is then used to link
|
---|
123 | against when compiling the main program.</para>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="configuration">
|
---|
128 | <title>Configuring NcFTP</title>
|
---|
129 |
|
---|
130 | <sect3 id="ncftp-config">
|
---|
131 | <title>Config Files</title>
|
---|
132 |
|
---|
133 | <para><filename>/etc/ncftp.*</filename> and
|
---|
134 | <filename>~/.ncftp/*</filename>; especially
|
---|
135 | <filename>/etc/ncftp.prefs_v3</filename> and
|
---|
136 | <filename>~/.ncftp/prefs_v3</filename></para>
|
---|
137 |
|
---|
138 | <indexterm zone="ncftp ncftp-config">
|
---|
139 | <primary sortas="e-AA.ncftp/*">~/.ncftp/*</primary>
|
---|
140 | </indexterm>
|
---|
141 |
|
---|
142 | <indexterm zone="ncftp ncftp-config">
|
---|
143 | <primary sortas="e-etc-ncftp.*">/etc/ncftp.*</primary>
|
---|
144 | </indexterm>
|
---|
145 |
|
---|
146 | </sect3>
|
---|
147 |
|
---|
148 | <sect3>
|
---|
149 | <title>Configuration Information</title>
|
---|
150 |
|
---|
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>.
|
---|
154 | There are various options to alter in there, including:</para>
|
---|
155 |
|
---|
156 | <screen><literal>yes-i-know-about-NcFTPd=yes</literal></screen>
|
---|
157 |
|
---|
158 | <para>This disables the splash screen advertising the
|
---|
159 | <application>NcFTPd</application> server.</para>
|
---|
160 |
|
---|
161 | <para>There are other options in the <filename>prefs_v3</filename> file.
|
---|
162 | Most of these are self-explanatory. Global defaults can be set in
|
---|
163 | <filename>/etc/ncftp.prefs_v3</filename>.</para>
|
---|
164 |
|
---|
165 | </sect3>
|
---|
166 |
|
---|
167 | </sect2>
|
---|
168 |
|
---|
169 | <sect2 role="content">
|
---|
170 | <title>Contents</title>
|
---|
171 |
|
---|
172 | <segmentedlist>
|
---|
173 | <segtitle>Installed Programs</segtitle>
|
---|
174 | <segtitle>Installed Library</segtitle>
|
---|
175 | <segtitle>Installed Directories</segtitle>
|
---|
176 |
|
---|
177 | <seglistitem>
|
---|
178 | <seg>ncftp, ncftpbatch, ncftpbookmarks, ncftpget,
|
---|
179 | ncftpls, ncftpput, and ncftpspooler</seg>
|
---|
180 | <seg>libncftp.so</seg>
|
---|
181 | <seg>None</seg>
|
---|
182 | </seglistitem>
|
---|
183 | </segmentedlist>
|
---|
184 |
|
---|
185 | <variablelist>
|
---|
186 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
187 | <?dbfo list-presentation="list"?>
|
---|
188 | <?dbhtml list-presentation="table"?>
|
---|
189 |
|
---|
190 | <varlistentry id="ncftp-prog">
|
---|
191 | <term><command>ncftp</command></term>
|
---|
192 | <listitem>
|
---|
193 | <para>is a browser program for File Transfer Protocol.</para>
|
---|
194 | <indexterm zone="ncftp ncftp-prog">
|
---|
195 | <primary sortas="b-ncftp">ncftp</primary>
|
---|
196 | </indexterm>
|
---|
197 | </listitem>
|
---|
198 | </varlistentry>
|
---|
199 |
|
---|
200 | <varlistentry id="ncftpbatch">
|
---|
201 | <term><command>ncftpbatch</command></term>
|
---|
202 | <listitem>
|
---|
203 | <para>is an individual batch FTP job processor.</para>
|
---|
204 | <indexterm zone="ncftp ncftpbatch">
|
---|
205 | <primary sortas="b-ncftpbatch">ncftpbatch</primary>
|
---|
206 | </indexterm>
|
---|
207 | </listitem>
|
---|
208 | </varlistentry>
|
---|
209 |
|
---|
210 | <varlistentry id="ncftpbookmarks">
|
---|
211 | <term><command>ncftpbookmarks</command></term>
|
---|
212 | <listitem>
|
---|
213 | <para>is the <application>NcFTP</application> Bookmark Editor
|
---|
214 | (<application>NCurses</application>-based).</para>
|
---|
215 | <indexterm zone="ncftp ncftpbookmarks">
|
---|
216 | <primary sortas="b-ncftpbookmarks">ncftpbookmarks</primary>
|
---|
217 | </indexterm>
|
---|
218 | </listitem>
|
---|
219 | </varlistentry>
|
---|
220 |
|
---|
221 | <varlistentry id="ncftpget">
|
---|
222 | <term><command>ncftpget</command></term>
|
---|
223 | <listitem>
|
---|
224 | <para>is an internet file transfer program for scripts used to
|
---|
225 | retrieve files.</para>
|
---|
226 | <indexterm zone="ncftp ncftpget">
|
---|
227 | <primary sortas="b-ncftpget">ncftpget</primary>
|
---|
228 | </indexterm>
|
---|
229 | </listitem>
|
---|
230 | </varlistentry>
|
---|
231 |
|
---|
232 | <varlistentry id="ncftpls">
|
---|
233 | <term><command>ncftpls</command></term>
|
---|
234 | <listitem>
|
---|
235 | <para>is an internet file transfer program for scripts used to
|
---|
236 | list files.</para>
|
---|
237 | <indexterm zone="ncftp ncftpls">
|
---|
238 | <primary sortas="b-ncftpls">ncftpls</primary>
|
---|
239 | </indexterm>
|
---|
240 | </listitem>
|
---|
241 | </varlistentry>
|
---|
242 |
|
---|
243 | <varlistentry id="ncftpput">
|
---|
244 | <term><command>ncftpput</command></term>
|
---|
245 | <listitem>
|
---|
246 | <para>is an internet file transfer program for scripts used to
|
---|
247 | transfer files.</para>
|
---|
248 | <indexterm zone="ncftp ncftpput">
|
---|
249 | <primary sortas="b-ncftpput">ncftpput</primary>
|
---|
250 | </indexterm>
|
---|
251 | </listitem>
|
---|
252 | </varlistentry>
|
---|
253 |
|
---|
254 | <varlistentry id="ncftpspooler">
|
---|
255 | <term><command>ncftpspooler</command></term>
|
---|
256 | <listitem>
|
---|
257 | <para>is a global batch FTP job processor daemon.</para>
|
---|
258 | <indexterm zone="ncftp ncftpspooler">
|
---|
259 | <primary sortas="b-ncftpspooler">ncftpspooler</primary>
|
---|
260 | </indexterm>
|
---|
261 | </listitem>
|
---|
262 | </varlistentry>
|
---|
263 |
|
---|
264 | </variablelist>
|
---|
265 |
|
---|
266 | </sect2>
|
---|
267 |
|
---|
268 | </sect1>
|
---|