| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE>ncftpbatch(1) manual page</TITLE> |
| 4 |
</HEAD> |
| 5 |
<BODY bgcolor=white> |
| 6 |
|
| 7 |
<H2>Name</H2> |
| 8 |
|
| 9 |
<blockquote> |
| 10 |
|
| 11 |
<P> |
| 12 |
<b> |
| 13 |
ncftpbatch</b> - Batch FTP job processor daemon |
| 14 |
</blockquote> |
| 15 |
|
| 16 |
<H2><B>Synopsis</B></H2> |
| 17 |
|
| 18 |
<blockquote> |
| 19 |
|
| 20 |
<P> |
| 21 |
<B>ncftpbatch</B> -d |
| 22 |
<P> |
| 23 |
<B>ncftpbatch</B> -l |
| 24 |
<P> |
| 25 |
<B>ncftpbatch</B> -D |
| 26 |
</blockquote> |
| 27 |
|
| 28 |
<center> |
| 29 |
<p> |
| 30 |
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> |
| 31 |
<input type="hidden" name="cmd" value="_s-xclick"> |
| 32 |
<input type="hidden" name="hosted_button_id" value="5JS76LUNSD3HU"> |
| 33 |
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> |
| 34 |
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"> |
| 35 |
</form> |
| 36 |
</center> |
| 37 |
|
| 38 |
<H2><B>Options</B></H2> |
| 39 |
|
| 40 |
<P> |
| 41 |
Command line flags: |
| 42 |
<blockquote> |
| 43 |
|
| 44 |
|
| 45 |
<DL> |
| 46 |
|
| 47 |
<DT><B>-d</B> </DT> |
| 48 |
<DD> Begin background processing of FTP jobs in the |
| 49 |
current user's <tt>$HOME/.ncftp/spool</tt> directory. This |
| 50 |
returns immediately, because a daemon process is |
| 51 |
spawned and ran in the background. |
| 52 |
</DD> |
| 53 |
|
| 54 |
<DT><B>-l</B> </DT> |
| 55 |
<DD> Lists the contents of the user's job queue. |
| 56 |
</DD> |
| 57 |
|
| 58 |
<DT><B>-D</B> </DT> |
| 59 |
<DD> This is like <B>-d</B>, except that the process does not |
| 60 |
become a background daemon process. |
| 61 |
</DD> |
| 62 |
</DL> |
| 63 |
|
| 64 |
</blockquote> |
| 65 |
|
| 66 |
<H2><B>Description</B></H2> |
| 67 |
|
| 68 |
<P> |
| 69 |
This program is responsible for processing background FTP |
| 70 |
requests. It is normally only run by <I>ncftp</I> and not manually |
| 71 |
by a human being, however you can run it to manually |
| 72 |
process the FTP job queue. |
| 73 |
<P> |
| 74 |
The jobs are spool files written to a user's |
| 75 |
<tt>$HOME/.ncftp/spool</tt> directory and have a special format and |
| 76 |
file-naming convention (which contains when the job is to |
| 77 |
be run). <I>ncftp</I> runs this program when it needs to, but if |
| 78 |
the <I>ncftpbatch</I> daemon dies unexpectedly the jobs that are |
| 79 |
left in the queue will not be processed until another |
| 80 |
instance of <I>ncftpbatch</I> is run. |
| 81 |
<P> |
| 82 |
<I>ncftpget</I> and <I>ncftpput</I> can also be used to submit jobs for |
| 83 |
batch processing, using those utilities' <B>-b</B> command-line |
| 84 |
flag. |
| 85 |
If desired, you can also manually create the spool files |
| 86 |
although this procedure is not documented here (see the manual |
| 87 |
page for |
| 88 |
<i>ncftpspooler</i> |
| 89 |
for more information on how to do that). |
| 90 |
|
| 91 |
<H2><B>Diagnostics</B></H2> |
| 92 |
|
| 93 |
<P> |
| 94 |
<I>ncftpbatch</I> writes to its own log file, the |
| 95 |
<tt>$HOME/.ncftp/spool/log</tt> file. This file should be examined |
| 96 |
to determine if any <I>ncftpbatch</I> processes are actively |
| 97 |
working on jobs. |
| 98 |
|
| 99 |
<H2>Author</H2> |
| 100 |
<blockquote> |
| 101 |
<P> |
| 102 |
Mike Gleason, <a href="http://www.ncftp.com">NcFTP Software</a>. |
| 103 |
</blockquote> |
| 104 |
<H2>See Also</H2> |
| 105 |
<blockquote> |
| 106 |
<P> |
| 107 |
<I>ncftpput(1)</I>, <I>ncftpget(1),</I> |
| 108 |
<I>ncftp(1)</I>, <I>ftp(1)</I>, <I>rcp(1)</I>, <I>tftp(1)</I>. <P> |
| 109 |
<I>LibNcFTP</I> (<a href="http://www.ncftp.com/libncftp/">http://www.ncftp.com/libncftp/</a>). |
| 110 |
</blockquote> |
| 111 |
</BODY></HTML> |