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