ncftpbatchSection: User Commands (1)
Updated: NcFTP Software
Index Return to Main Contents
NAMEncftpbatch - Individual batch FTP job processor
Command line flags:
- Begin background processing of FTP jobs in the current user's $HOME/.ncftp/spool directory. This returns immediately, because a daemon process is spawned and ran in the background.
- Lists the contents of the user's job queue.
- This is like -d, except that the process does not become a daemon.
This program is responsible for processing background FTP requests. It is normally only run by ncftp and not manually by a human being, however you can run it to manually process the FTP job queue.
The jobs are spool files written to a user's $HOME/.ncftp/spool directory and have a special format and file-naming convention (which contains when the job is to be run). ncftp runs this program when it needs to, but if the ncftpbatch daemon dies unexpectedly the jobs that are left in the queue will not be processed until another instance of ncftpbatch is run.
ncftpget and ncftpput can also be used to submit jobs for batch processing, using those utilities' -b command-line flag. If desired, you can also manually create the spool files although this procedure is not documented here (see the manual page for ncftpspooler for more information on how to do that).
Mike Gleason, NcFTP Software (http://www.ncftp.com).