version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
ncftpbatch |
|
|
2 |
!!!ncftpbatch |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
OPTIONS |
|
|
6 |
DESCRIPTION |
|
|
7 |
DIAGNOSTICS |
|
|
8 |
AUTHOR |
|
|
9 |
SEE ALSO |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
ncftpbatch - Individual batch FTP job processor |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__ncftpbatch__ -d |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
__ncftpbatch__ -l |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
__ncftpbatch__ -D |
|
|
25 |
!!OPTIONS |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
__Command line flags:__ |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
__-d__ |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
Begin background processing of FTP jobs in the current |
|
|
35 |
user's $HOME/.ncftp/spool directory. This returns |
|
|
36 |
immediately, because a daemon process is spawned and ran in |
|
|
37 |
the background. |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
__-l__ |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
Lists the contents of the user's job queue. |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
__-D__ |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
This is like __-d__, except that the process does not |
|
|
50 |
become a daemon. |
|
|
51 |
!!DESCRIPTION |
|
|
52 |
|
|
|
53 |
|
|
|
54 |
This program is responsible for processing background FTP |
|
|
55 |
requests. It is normally only run by ''ncftp'' and not |
|
|
56 |
manually by a human being, however you can run it to |
|
|
57 |
manually process the FTP job queue. |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
The jobs are spool files written to a user's |
|
|
61 |
$HOME/.ncftp/spool directory and have a special format and |
|
|
62 |
file-naming convention (which contains when the job is to be |
|
|
63 |
run). ''ncftp'' runs this program when it needs to, but |
|
|
64 |
if the ''ncftpbatch'' daemon dies unexpectedly the jobs |
|
|
65 |
that are left in the queue will not be processed until |
|
|
66 |
another instance of ''ncftpbatch'' is run. |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
''ncftpget'' and ''ncftpput'' can also be used to |
|
|
70 |
submit jobs for batch processing, using those utilities' |
|
|
71 |
__-b__ command-line flag. If desired, you can also |
|
|
72 |
manually create the spool files although this procedure is |
|
|
73 |
not documented here (see the manual page for |
|
|
74 |
''ncftpspooler'' for more information on how to do |
|
|
75 |
that). |
|
|
76 |
!!DIAGNOSTICS |
|
|
77 |
|
|
|
78 |
|
|
|
79 |
''ncftpbatch'' writes to its own log file, the |
|
|
80 |
$HOME/.ncftp/spool/log file. This file should be examined to |
|
|
81 |
determine if any ''ncftpbatch'' processes are actively |
|
|
82 |
working on jobs. |
|
|
83 |
!!AUTHOR |
|
|
84 |
|
|
|
85 |
|
|
|
86 |
Mike Gleason, NcFTP Software |
|
|
87 |
(mgleason@ncftp.com). |
|
|
88 |
!!SEE ALSO |
|
|
89 |
|
|
|
90 |
|
|
|
91 |
ncftp(1), ncftpput(1), |
|
|
92 |
ncftpget(1). |
|
|
93 |
---- |