ncftpbatch(1)

πŸ’– ncftpbatch β€” the individual batch FTP job processor, bestie πŸ’–

okay so this is ncftpbatch(1) from the General Commands Manual, and it's basically the little worker bee that handles your FTP jobs in the background while you go live your life. let's get into it 🐝✨


✨ NAME ✨

ncftpbatch β€” Individual batch FTP job processor πŸ’…


🌸 SYNOPSIS 🌸

ncftpbatch -d

ncftpbatch -l

ncftpbatch -D

like, those are your three whole moods. pick one πŸŽ€


πŸ¦‹ OPTIONS πŸ¦‹

πŸ’œ Command line flags:

  • -d β€” start background processing of the FTP jobs sitting in the current user's $HOME/.ncftp/spool directory. and the way this one is snappy β€” it returns immediately, because a daemon process gets spawned and runs in the background. you ask, it dips, it handles it. main character energy fr fr πŸ‘‘
  • -l β€” lists the contents of the user's job queue. that's it, that's the whole vibe. a little peek at what's waiting in line 🫢
  • -D β€” literally the same as -d, except the process does not become a daemon. so it's -d but it stays right there with you instead of running off into the background 🌈

🌟 DESCRIPTION 🌟

so this program is the one responsible for processing background FTP requests. normally it's only run by ncftp and not manually by a human being β€” but bestie, you can run it yourself to manually process the FTP job queue if you want to. no gatekeeping πŸ’–

the jobs are spool files written to a user's $HOME/.ncftp/spool directory, and they 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 here's the tea: 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. so like... if it ghosts you, the queue just sits there. sad. 😭

ncftpget and ncftpput can also be used to submit jobs for batch processing, using those utilities' -b command-line flag. and if you're feeling bold, 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). iykyk 🧚


πŸ’€ DIAGNOSTICS πŸ’€

ncftpbatch writes to its own log file, the $HOME/.ncftp/spool/log file. this file should be examined to determine if any ncftpbatch processes are actively working on jobs. so like, when in doubt, go read the log. it will tell you everything, no cap πŸ“–βœ¨


πŸ‘‘ AUTHOR πŸ‘‘

Mike Gleason, NcFTP Software (http://www.ncftp.com).


🌈 SEE ALSO 🌈

ncftp(1), ncftpput(1), ncftpget(1).


and that's the whole page, bestie πŸ’– this one came from NcFTP Software β€” shoutout to them for the ncftpbatch era, we ate πŸ“βœ¨