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 | &lfs80_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 | <para condition="html" role="usernotes">User Notes:
|
---|
62 | <ulink url="&blfs-wiki;/ncftp"/></para>
|
---|
63 |
|
---|
64 | </sect2>
|
---|
65 |
|
---|
66 | <sect2 role="installation">
|
---|
67 | <title>Installation of NcFTP</title>
|
---|
68 |
|
---|
69 | <para>There are two ways to build <application>NcFTP</application>.
|
---|
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.
|
---|
73 | This doesn't make the dynamic library available for linking by other applications.
|
---|
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
|
---|
79 | utilize the shared library is subject to a different license.</para>
|
---|
80 |
|
---|
81 | <para>To install <application>NcFTP</application> using the
|
---|
82 | first (and optimal) method, run the following commands:</para>
|
---|
83 |
|
---|
84 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
85 | make -C libncftp shared &&
|
---|
86 | make</userinput></screen>
|
---|
87 |
|
---|
88 | <para>This package does not come with a test suite.</para>
|
---|
89 |
|
---|
90 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
91 |
|
---|
92 | <screen role='root'><userinput>make -C libncftp soinstall &&
|
---|
93 | make install</userinput></screen>
|
---|
94 |
|
---|
95 | <para>To install <application>NcFTP</application> using the
|
---|
96 | second method (with the <filename class="libraryfile">libncftp</filename>
|
---|
97 | functionality linked in statically) run the following commands:</para>
|
---|
98 |
|
---|
99 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
100 | make</userinput></screen>
|
---|
101 |
|
---|
102 | <para>This package does not come with a test suite.</para>
|
---|
103 |
|
---|
104 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
105 |
|
---|
106 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2 role="commands">
|
---|
111 | <title>Command Explanations</title>
|
---|
112 |
|
---|
113 | <para><command>make -C ... && make -C ...</command>:
|
---|
114 | These commands make and install the dynamic library <filename
|
---|
115 | class="libraryfile">libncftp</filename> which is then used to link
|
---|
116 | against when compiling the main program.</para>
|
---|
117 |
|
---|
118 | </sect2>
|
---|
119 |
|
---|
120 | <sect2 role="configuration">
|
---|
121 | <title>Configuring NcFTP</title>
|
---|
122 |
|
---|
123 | <sect3 id="ncftp-config">
|
---|
124 | <title>Config Files</title>
|
---|
125 |
|
---|
126 | <para><filename>/etc/ncftp.*</filename> and
|
---|
127 | <filename>~/.ncftp/*</filename>; especially
|
---|
128 | <filename>/etc/ncftp.prefs_v3</filename> and
|
---|
129 | <filename>~/.ncftp/prefs_v3</filename></para>
|
---|
130 |
|
---|
131 | <indexterm zone="ncftp ncftp-config">
|
---|
132 | <primary sortas="e-AA.ncftp/*">~/.ncftp/*</primary>
|
---|
133 | </indexterm>
|
---|
134 |
|
---|
135 | <indexterm zone="ncftp ncftp-config">
|
---|
136 | <primary sortas="e-etc-ncftp.*">/etc/ncftp.*</primary>
|
---|
137 | </indexterm>
|
---|
138 |
|
---|
139 | </sect3>
|
---|
140 |
|
---|
141 | <sect3>
|
---|
142 | <title>Configuration Information</title>
|
---|
143 |
|
---|
144 | <para>Most <application>NcFTP</application> configuration
|
---|
145 | is done while in the program, and the configuration files are dealt with
|
---|
146 | automatically. One exception to this is <filename>~/.ncftp/prefs_v3</filename>.
|
---|
147 | There are various options to alter in there, including:</para>
|
---|
148 |
|
---|
149 | <screen><literal>yes-i-know-about-NcFTPd=yes</literal></screen>
|
---|
150 |
|
---|
151 | <para>This disables the splash screen advertising the
|
---|
152 | <application>NcFTPd</application> server.</para>
|
---|
153 |
|
---|
154 | <para>There are other options in the <filename>prefs_v3</filename> file.
|
---|
155 | Most of these are self-explanatory. Global defaults can be set in
|
---|
156 | <filename>/etc/ncftp.prefs_v3</filename>.</para>
|
---|
157 |
|
---|
158 | </sect3>
|
---|
159 |
|
---|
160 | </sect2>
|
---|
161 |
|
---|
162 | <sect2 role="content">
|
---|
163 | <title>Contents</title>
|
---|
164 |
|
---|
165 | <segmentedlist>
|
---|
166 | <segtitle>Installed Programs</segtitle>
|
---|
167 | <segtitle>Installed Library</segtitle>
|
---|
168 | <segtitle>Installed Directories</segtitle>
|
---|
169 |
|
---|
170 | <seglistitem>
|
---|
171 | <seg>ncftp, ncftpbatch, ncftpbookmarks, ncftpget,
|
---|
172 | ncftpls, ncftpput, and ncftpspooler</seg>
|
---|
173 | <seg>libncftp.so</seg>
|
---|
174 | <seg>None</seg>
|
---|
175 | </seglistitem>
|
---|
176 | </segmentedlist>
|
---|
177 |
|
---|
178 | <variablelist>
|
---|
179 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
180 | <?dbfo list-presentation="list"?>
|
---|
181 | <?dbhtml list-presentation="table"?>
|
---|
182 |
|
---|
183 | <varlistentry id="ncftp-prog">
|
---|
184 | <term><command>ncftp</command></term>
|
---|
185 | <listitem>
|
---|
186 | <para>is a browser program for File Transfer Protocol.</para>
|
---|
187 | <indexterm zone="ncftp ncftp-prog">
|
---|
188 | <primary sortas="b-ncftp">ncftp</primary>
|
---|
189 | </indexterm>
|
---|
190 | </listitem>
|
---|
191 | </varlistentry>
|
---|
192 |
|
---|
193 | <varlistentry id="ncftpbatch">
|
---|
194 | <term><command>ncftpbatch</command></term>
|
---|
195 | <listitem>
|
---|
196 | <para>is an individual batch FTP job processor.</para>
|
---|
197 | <indexterm zone="ncftp ncftpbatch">
|
---|
198 | <primary sortas="b-ncftpbatch">ncftpbatch</primary>
|
---|
199 | </indexterm>
|
---|
200 | </listitem>
|
---|
201 | </varlistentry>
|
---|
202 |
|
---|
203 | <varlistentry id="ncftpbookmarks">
|
---|
204 | <term><command>ncftpbookmarks</command></term>
|
---|
205 | <listitem>
|
---|
206 | <para>is the <application>NcFTP</application> Bookmark Editor
|
---|
207 | (<application>NCurses</application>-based).</para>
|
---|
208 | <indexterm zone="ncftp ncftpbookmarks">
|
---|
209 | <primary sortas="b-ncftpbookmarks">ncftpbookmarks</primary>
|
---|
210 | </indexterm>
|
---|
211 | </listitem>
|
---|
212 | </varlistentry>
|
---|
213 |
|
---|
214 | <varlistentry id="ncftpget">
|
---|
215 | <term><command>ncftpget</command></term>
|
---|
216 | <listitem>
|
---|
217 | <para>is an internet file transfer program for scripts used to
|
---|
218 | retrieve files.</para>
|
---|
219 | <indexterm zone="ncftp ncftpget">
|
---|
220 | <primary sortas="b-ncftpget">ncftpget</primary>
|
---|
221 | </indexterm>
|
---|
222 | </listitem>
|
---|
223 | </varlistentry>
|
---|
224 |
|
---|
225 | <varlistentry id="ncftpls">
|
---|
226 | <term><command>ncftpls</command></term>
|
---|
227 | <listitem>
|
---|
228 | <para>is an internet file transfer program for scripts used to
|
---|
229 | list files.</para>
|
---|
230 | <indexterm zone="ncftp ncftpls">
|
---|
231 | <primary sortas="b-ncftpls">ncftpls</primary>
|
---|
232 | </indexterm>
|
---|
233 | </listitem>
|
---|
234 | </varlistentry>
|
---|
235 |
|
---|
236 | <varlistentry id="ncftpput">
|
---|
237 | <term><command>ncftpput</command></term>
|
---|
238 | <listitem>
|
---|
239 | <para>is an internet file transfer program for scripts used to
|
---|
240 | transfer files.</para>
|
---|
241 | <indexterm zone="ncftp ncftpput">
|
---|
242 | <primary sortas="b-ncftpput">ncftpput</primary>
|
---|
243 | </indexterm>
|
---|
244 | </listitem>
|
---|
245 | </varlistentry>
|
---|
246 |
|
---|
247 | <varlistentry id="ncftpspooler">
|
---|
248 | <term><command>ncftpspooler</command></term>
|
---|
249 | <listitem>
|
---|
250 | <para>is a global batch FTP job processor daemon.</para>
|
---|
251 | <indexterm zone="ncftp ncftpspooler">
|
---|
252 | <primary sortas="b-ncftpspooler">ncftpspooler</primary>
|
---|
253 | </indexterm>
|
---|
254 | </listitem>
|
---|
255 | </varlistentry>
|
---|
256 |
|
---|
257 | </variablelist>
|
---|
258 |
|
---|
259 | </sect2>
|
---|
260 |
|
---|
261 | </sect1>
|
---|