1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
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">
|
---|
8 | <!-- <!ENTITY ncftp-download-ftp "ftp://ftp.ncftp.com/ncftp/ncftp-&ncftp-version;-src.tar.bz2"> -->
|
---|
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">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="ncftp" xreflabel="NcFTP-&ncftp-version;">
|
---|
17 | <?dbhtml filename="ncftp.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>NcFTP-&ncftp-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="ncftp">
|
---|
27 | <primary sortas="a-NcFTP">NcFTP</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to NcFTP</title>
|
---|
32 |
|
---|
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
|
---|
36 | <command>ftp</command> program.</para>
|
---|
37 |
|
---|
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>
|
---|
56 | <para>Estimated build time: &ncftp-time;</para>
|
---|
57 | </listitem>
|
---|
58 | </itemizedlist>
|
---|
59 |
|
---|
60 | </sect2>
|
---|
61 |
|
---|
62 | <sect2 role="installation">
|
---|
63 | <title>Installation of NcFTP</title>
|
---|
64 |
|
---|
65 | <para>There are two ways to build <application>NcFTP</application>.
|
---|
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.
|
---|
69 | This doesn't make the dynamic library available for linking by other applications.
|
---|
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
|
---|
75 | utilize the shared library is subject to a different license.</para>
|
---|
76 |
|
---|
77 | <para>To install <application>NcFTP</application> using the
|
---|
78 | first (and optimal) method, run the following commands:</para>
|
---|
79 |
|
---|
80 | <screen><userinput>./configure --prefix=/usr &&
|
---|
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 |
|
---|
87 | <para>Again, as an unprivileged user:</para>
|
---|
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>
|
---|
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 &&
|
---|
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>
|
---|
105 |
|
---|
106 | </sect2>
|
---|
107 |
|
---|
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>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="configuration">
|
---|
119 | <title>Configuring NcFTP</title>
|
---|
120 |
|
---|
121 | <sect3 id="ncftp-config">
|
---|
122 | <title>Config Files</title>
|
---|
123 |
|
---|
124 | <para><filename>~/.ncftp/*</filename>; especially
|
---|
125 | <filename>~/.ncftp/prefs_v3</filename></para>
|
---|
126 |
|
---|
127 | <indexterm zone="ncftp ncftp-config">
|
---|
128 | <primary sortas="e-AA.ncftp/*">~/.ncftp/*</primary>
|
---|
129 | </indexterm>
|
---|
130 |
|
---|
131 | </sect3>
|
---|
132 |
|
---|
133 | <sect3>
|
---|
134 | <title>Configuration Information</title>
|
---|
135 |
|
---|
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>.
|
---|
139 | There are various options to alter in there, including:</para>
|
---|
140 |
|
---|
141 | <screen><literal>yes-i-know-about-NcFTPd=yes</literal></screen>
|
---|
142 |
|
---|
143 | <para>This disables the splash screen advertising the
|
---|
144 | <application>NcFTPd</application> server.</para>
|
---|
145 |
|
---|
146 | <para>There are other options in the <filename>prefs_v3</filename> file. Most
|
---|
147 | of these are self-explanatory.</para>
|
---|
148 |
|
---|
149 | </sect3>
|
---|
150 |
|
---|
151 | </sect2>
|
---|
152 |
|
---|
153 | <sect2 role="content">
|
---|
154 | <title>Contents</title>
|
---|
155 |
|
---|
156 | <segmentedlist>
|
---|
157 | <segtitle>Installed Programs</segtitle>
|
---|
158 | <segtitle>Installed Library</segtitle>
|
---|
159 | <segtitle>Installed Directories</segtitle>
|
---|
160 |
|
---|
161 | <seglistitem>
|
---|
162 | <seg>ncftp, ncftpbatch, ncftpbookmarks, ncftpget,
|
---|
163 | ncftpls, ncftpput, and ncftpspooler</seg>
|
---|
164 | <seg>libncftp.so</seg>
|
---|
165 | <seg>None</seg>
|
---|
166 | </seglistitem>
|
---|
167 | </segmentedlist>
|
---|
168 |
|
---|
169 | <variablelist>
|
---|
170 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
171 | <?dbfo list-presentation="list"?>
|
---|
172 | <?dbhtml list-presentation="table"?>
|
---|
173 |
|
---|
174 | <varlistentry id="ncftp-prog">
|
---|
175 | <term><command>ncftp</command></term>
|
---|
176 | <listitem>
|
---|
177 | <para>is 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>
|
---|
183 |
|
---|
184 | <varlistentry id="ncftpbatch">
|
---|
185 | <term><command>ncftpbatch</command></term>
|
---|
186 | <listitem>
|
---|
187 | <para>is an individual batch FTP job processor.</para>
|
---|
188 | <indexterm zone="ncftp ncftpbatch">
|
---|
189 | <primary sortas="b-ncftpbatch">ncftpbatch</primary>
|
---|
190 | </indexterm>
|
---|
191 | </listitem>
|
---|
192 | </varlistentry>
|
---|
193 |
|
---|
194 | <varlistentry id="ncftpbookmarks">
|
---|
195 | <term><command>ncftpbookmarks</command></term>
|
---|
196 | <listitem>
|
---|
197 | <para>is the <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>
|
---|
204 |
|
---|
205 | <varlistentry id="ncftpget">
|
---|
206 | <term><command>ncftpget</command></term>
|
---|
207 | <listitem>
|
---|
208 | <para>is an internet file transfer program for scripts used to
|
---|
209 | retrieve files.</para>
|
---|
210 | <indexterm zone="ncftp ncftpget">
|
---|
211 | <primary sortas="b-ncftpget">ncftpget</primary>
|
---|
212 | </indexterm>
|
---|
213 | </listitem>
|
---|
214 | </varlistentry>
|
---|
215 |
|
---|
216 | <varlistentry id="ncftpls">
|
---|
217 | <term><command>ncftpls</command></term>
|
---|
218 | <listitem>
|
---|
219 | <para>is an internet file transfer program for scripts used to
|
---|
220 | list files.</para>
|
---|
221 | <indexterm zone="ncftp ncftpls">
|
---|
222 | <primary sortas="b-ncftpls">ncftpls</primary>
|
---|
223 | </indexterm>
|
---|
224 | </listitem>
|
---|
225 | </varlistentry>
|
---|
226 |
|
---|
227 | <varlistentry id="ncftpput">
|
---|
228 | <term><command>ncftpput</command></term>
|
---|
229 | <listitem>
|
---|
230 | <para>is an internet file transfer program for scripts used to
|
---|
231 | transfer files.</para>
|
---|
232 | <indexterm zone="ncftp ncftpput">
|
---|
233 | <primary sortas="b-ncftpput">ncftpput</primary>
|
---|
234 | </indexterm>
|
---|
235 | </listitem>
|
---|
236 | </varlistentry>
|
---|
237 |
|
---|
238 | <varlistentry id="ncftpspooler">
|
---|
239 | <term><command>ncftpspooler</command></term>
|
---|
240 | <listitem>
|
---|
241 | <para>is a global batch FTP job processor daemon.</para>
|
---|
242 | <indexterm zone="ncftp ncftpspooler">
|
---|
243 | <primary sortas="b-ncftpspooler">ncftpspooler</primary>
|
---|
244 | </indexterm>
|
---|
245 | </listitem>
|
---|
246 | </varlistentry>
|
---|
247 |
|
---|
248 | </variablelist>
|
---|
249 |
|
---|
250 | </sect2>
|
---|
251 |
|
---|
252 | </sect1>
|
---|