Skip to content
Snippets Groups Projects
Commit 67501aa4 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Add -F option to set file request attribute flag

to force SBBSecho to create a .req file (in FLO-mode), rather than send as
netmail.

For Keyop
parent 499be182
No related branches found
No related tags found
No related merge requests found
// Post a message to a local sub-board or mail message base
// a preferred alternative to using "smbutil i"
require("smbdefs.js", "MSG_FILEREQUEST");
var hdrs = { };
var sub_code;
var import_fname;
......@@ -21,6 +22,7 @@ function usage()
print("\t-e<number> set 'from' user number");
print("\t-s<subject> set 'subject'");
print("\t-d use default values (no prompt) for to, from, and subject");
print("\t-F set file request attribute flag");
print();
print("Note: You may need to enclose multi-word options in quotes (e.g. \"-fMy Name\")");
print();
......@@ -46,6 +48,9 @@ for(var i in argv) {
if(val.length)
hdrs.from = val;
break;
case 'F':
hdrs.auxattr = MSG_FILEREQUEST;
break;
case 'e':
if(val.length)
hdrs.from_ext = val;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment