BPSENDFILE(1)

πŸ“¦ version 3.2.1, in ubuntu jammy

πŸ’… BPSENDFILE(1) β€” the BP executables era, bestie

okay so real quick, this is one of the BP executables, and it's giving "send one file, then leave" energy. iconic. no notes.


✨ NAME ✨

bpsendfile β€” the Bundle Protocol (BP) file transmission utility πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

bpsendfile own_endpoint_ID destination_endpoint_ID file_name
[class_of_service]

πŸ’– DESCRIPTION πŸ’–

so here's the tea, bestie: bpsendfile uses bp_send() to yeet exactly one bundle at a designated destination endpoint, and that bundle is carrying the whole entire contents of the file you named in file_name. then it just... leaves. terminates. main character exit, no goodbye. πŸ’…

the bundle goes out with no custody transfer requested, and with a TTL of 300 seconds (that's 5 minutes, for my people who don't do math 🌸).

if you leave class_of_service off? no worries, the bundle is sent at standard priority. and if you're like "wait what even IS the class_of_service parameter" β€” bestie, go read bptrace(1), it's all in there. iykyk. ✨


πŸ‘‘ EXIT STATUS πŸ‘‘

  • "0" β€” bpsendfile has terminated. that's it, that's the whole list, periodt.

🧚 FILES 🧚

no configuration files are needed. literally none. we're low maintenance. 🫢


🌈 ENVIRONMENT 🌈

no environment variables apply. nothing. nada. clean vibe check passed. ✨


πŸ’œ DIAGNOSTICS πŸ’œ

these little messages might show up in the ion.log log file, so if something's feeling off, look there first:

  • Can't attach to BP. β€” bpadmin hasn't initialized BP operations yet. like, the whole thing isn't even set up. go do that first. 😭
  • Can't open own endpoint. β€” some other BP application task already has own_endpoint_ID open for bundle origination and reception. rude of them honestly. try again once that task has terminated. and if no such task exists?? it might have crashed while still holding the endpoint open πŸ™ˆ β€” in that case the easiest workaround is just picking a different source endpoint. slay, adapt, overcome.
  • Can't stat the file β€” that's an operating system error. check errtext, fix the problem, and rerun. you got this.
  • bpsendfile can't create file ref. β€” probably an unrecoverable database error. if so, the local ION node has to be terminated and re-initialized. yeah. that one's serious. πŸ’€
  • bpsendfile can't create ZCO. β€” again, probably an unrecoverable database error, and again, the local ION node must be terminated and re-initialized. same energy. πŸ’€
  • bpsendfile can't send file in bundle. β€” BP system error. check for earlier diagnostic messages that describe what actually caused it, correct the problem, and rerun.

πŸ“ BUGS πŸ“

found a bug? report it to <ion-bugs@korgano.eecs.ohiou.edu>. they're listening, bestie. πŸ“¬


⭐ SEE ALSO ⭐


and that's the whole page!! written by the perl v5.24.1 girlies back on 2016-07-07, filed under BPSENDFILE(1) β€” sending you all the bundle love, mwah πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from