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