1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.3/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-md5sum "N/A">
|
---|
10 | <!ENTITY ncftp-size "389 KB">
|
---|
11 | <!ENTITY ncftp-buildsize "5.2 MB">
|
---|
12 | <!ENTITY ncftp-time "0.38 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="ncftp" xreflabel="NcFTP-&ncftp-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="ncftp.html"?>
|
---|
21 | <title>NcFTP-&ncftp-version;</title>
|
---|
22 |
|
---|
23 | <sect2>
|
---|
24 | <title>Introduction to
|
---|
25 | <application>Nc<acronym>FTP</acronym></application></title>
|
---|
26 |
|
---|
27 | <para>The <application>Nc<acronym>FTP</acronym></application> package contains
|
---|
28 | a powerful and flexible interface to the Internet standard File Transfer
|
---|
29 | Protocol. It is intended to replace or supplement the stock
|
---|
30 | <command>ftp</command> program.</para>
|
---|
31 |
|
---|
32 | <sect3><title>Package information</title>
|
---|
33 | <itemizedlist spacing='compact'>
|
---|
34 | <listitem><para>Download (HTTP): <ulink
|
---|
35 | url="&ncftp-download-http;"/></para></listitem>
|
---|
36 | <listitem><para>Download (FTP): <ulink
|
---|
37 | url="&ncftp-download-ftp;"/></para></listitem>
|
---|
38 | <listitem><para>Download MD5 sum: &ncftp-md5sum;</para></listitem>
|
---|
39 | <listitem><para>Download size: &ncftp-size;</para></listitem>
|
---|
40 | <listitem><para>Estimated disk space required:
|
---|
41 | &ncftp-buildsize;</para></listitem>
|
---|
42 | <listitem><para>Estimated build time:
|
---|
43 | &ncftp-time;</para></listitem></itemizedlist>
|
---|
44 | </sect3>
|
---|
45 |
|
---|
46 | </sect2>
|
---|
47 |
|
---|
48 | <sect2>
|
---|
49 | <title>Installation of
|
---|
50 | <application>Nc<acronym>FTP</acronym></application></title>
|
---|
51 |
|
---|
52 | <para>There are two ways to build
|
---|
53 | <application>Nc<acronym>FTP</acronym></application>. The first
|
---|
54 | (and optimal) way builds most of the functionality as a shared library and
|
---|
55 | then builds and installs the program linked against this library. The second
|
---|
56 | method simply links all of the functionality into the binary statically. This
|
---|
57 | doesn't make the dynamic library available for linking by other
|
---|
58 | applications. You need to choose which method best suits you. Note
|
---|
59 | that the second method does <emphasis>not</emphasis> create an entirely
|
---|
60 | statically linked binary; only the
|
---|
61 | <filename class="libraryfile">libncftp</filename> parts are
|
---|
62 | statically linked in, in this case. Be aware that building and using the shared
|
---|
63 | library is covered by the Clarified Artistic License; however, developing
|
---|
64 | applications that utilize the shared library is subject to a different
|
---|
65 | license.</para>
|
---|
66 |
|
---|
67 | <para>To install <application>Nc<acronym>FTP</acronym></application> using the
|
---|
68 | first (and optimal) method, run the following commands:</para>
|
---|
69 |
|
---|
70 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
71 | make -C libncftp shared &&
|
---|
72 | make -C libncftp soinstall &&
|
---|
73 | make &&
|
---|
74 | make install</command></userinput></screen>
|
---|
75 |
|
---|
76 | <para>To install <application>Nc<acronym>FTP</acronym></application> using the
|
---|
77 | second method (with the <filename class="libraryfile">libncftp</filename>
|
---|
78 | functionality linked in statically) run the following commands:</para>
|
---|
79 |
|
---|
80 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
81 | make &&
|
---|
82 | make install</command></userinput></screen>
|
---|
83 |
|
---|
84 | </sect2>
|
---|
85 |
|
---|
86 | <sect2>
|
---|
87 | <title>Command explanations</title>
|
---|
88 |
|
---|
89 | <para><screen><command>make -C libncftp shared
|
---|
90 | make -C libncftp soinstall</command></screen>
|
---|
91 | These commands make and install the dynamic library <filename
|
---|
92 | class="libraryfile">libncftp</filename> which is then used to link
|
---|
93 | against when compiling the main program.</para>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2>
|
---|
98 | <title>Configuring <application>Nc<acronym>FTP</acronym></application></title>
|
---|
99 |
|
---|
100 | <sect3><title>Config files</title>
|
---|
101 | <para><filename>~/.ncftp/*</filename>; especially
|
---|
102 | <filename>~/.ncftp/prefs_v3</filename></para>
|
---|
103 | </sect3>
|
---|
104 |
|
---|
105 | <sect3><title>Configuration Information</title>
|
---|
106 |
|
---|
107 | <para>Most <application>Nc<acronym>FTP</acronym></application> configuration
|
---|
108 | is done while in the program, and the configuration files are dealt with
|
---|
109 | automatically. One exception to this is <filename>~/.ncftp/prefs_v3</filename>.
|
---|
110 | There are various options to alter in there, including:</para>
|
---|
111 |
|
---|
112 | <para><screen><userinput>yes-i-know-about-NcFTPd=yes</userinput></screen>
|
---|
113 | This disables the splash screen advertising the
|
---|
114 | <application>NcFTPd</application> server.</para>
|
---|
115 |
|
---|
116 | <para>There are other options in the <filename>prefs_v3</filename> file. Most
|
---|
117 | of these are self-explanatory.</para>
|
---|
118 | </sect3>
|
---|
119 |
|
---|
120 | </sect2>
|
---|
121 |
|
---|
122 | <sect2>
|
---|
123 | <title>Contents</title>
|
---|
124 |
|
---|
125 | <para>The <application>Nc<acronym>FTP</acronym></application> package
|
---|
126 | contains <filename class="libraryfile">libncftp</filename>,
|
---|
127 | <command>ncftp</command>, <command>ncftpbatch
|
---|
128 | </command>, <command>ncftpbookmarks</command>,
|
---|
129 | <command>ncftpget</command>, <command>ncftpls</command>,
|
---|
130 | <command>ncftpput</command> and <command>ncftpspooler</command>.</para>
|
---|
131 | </sect2>
|
---|
132 |
|
---|
133 | <sect2><title>Description</title>
|
---|
134 |
|
---|
135 | <sect3><title>ncftp</title>
|
---|
136 | <para>A browser program for File Transfer Protocol.</para></sect3>
|
---|
137 |
|
---|
138 | <sect3><title>ncftpbatch</title>
|
---|
139 | <para>Individual batch <acronym>FTP</acronym> job processor.</para></sect3>
|
---|
140 |
|
---|
141 | <sect3><title>ncftpbookmarks</title>
|
---|
142 | <para><application>NcFTP</application> Bookmark Editor
|
---|
143 | (<application>NCurses</application>-based).</para></sect3>
|
---|
144 |
|
---|
145 | <sect3><title>ncftpget</title>
|
---|
146 | <para>Internet file transfer program for scripts.</para></sect3>
|
---|
147 |
|
---|
148 | <sect3><title>ncftpls</title>
|
---|
149 | <para>Internet file transfer program for scripts.</para></sect3>
|
---|
150 |
|
---|
151 | <sect3><title>ncftpput</title>
|
---|
152 | <para>Internet file transfer program for scripts.</para></sect3>
|
---|
153 |
|
---|
154 | <sect3><title>ncftpspooler</title>
|
---|
155 | <para>Global batch <acronym>FTP</acronym> job processor daemon.</para></sect3>
|
---|
156 |
|
---|
157 | </sect2>
|
---|
158 |
|
---|
159 | </sect1>
|
---|
160 |
|
---|