home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / ULP103.ZIP / ULP.DOC < prev    next >
Text File  |  1993-11-06  |  98KB  |  1,772 lines

  1.  
  2.     ┌───────────────────┐
  3.     │                   │ ║                UpLoadProcessor
  4.     │    ╥   ╥ ╥        │ ║
  5.     │    ║   ║ ║ ╓──╖   │ ║                 Version 1.03
  6.     │    ║   ║ ║ ║  ║   │ ║
  7.     │    ╙───╜ ╨ ║──╜   │ ║     (c) Copyright 1992-1993 - Stacy Smith
  8.     │            ╨      │ ║
  9.     └───────────────────┘ ║
  10.       ════════════════════╝
  11.  
  12.                                 Courtesy of:
  13.  
  14.                         The Bloom Beacon-Picayune BBS
  15.           Node 1: (919) 557-3845 (USRobotics Courier Dual Standard)
  16.              Node 2: (919) 557-0645 (USRobotics Courier V.32bis)
  17.              Node 3: (919) 557-0745 (USRobotics Courier V.32bis)
  18.                              FidoNet 1:151/106
  19.                                   Intelec
  20.                                  CompuLink
  21.  
  22.                                 Stacy Smith
  23.                             305 Cottonwood Lane
  24.                           Holly Springs, NC 27540
  25.  
  26.  
  27. ┌───────────────────┐
  28. │  1. Introduction  │
  29. └───────────────────┘
  30.  
  31. This system was born out of a need for a universal upload processor. There are
  32. many alternative systems available, but they are limited to the ZIP format and
  33. perhaps one or two others. Few are able to handle self-extracting archives.
  34. Most are limited in the number of levels of archive nesting allowed in a file
  35. to be tested. All require the use of a third-party duplicate file checking
  36. system if you want to screen your uploads for duplicates.
  37.  
  38. Tired of waiting for PKZIP 2.something-or-another, I converted my BBS files
  39. over to the ARJ compression format, due to its superior compression ratio over
  40. PKZip and its features over LHA. I do not intend to debate the merits of one
  41. archive format over another, but due to my decision, the need for a universal
  42. upload processor became apparent, so off I went.
  43.  
  44. While I was at it, I decided to incorporate other technologies, such as
  45. duplicate checking, archive format conversion, information lines, support for
  46. internal description files, etc., into a single package. This software is the
  47. result of my efforts to allow my BBS to handle any archive that my users can
  48. throw at it.
  49.  
  50.  
  51. ┌─────────────────────────────────────────────┐
  52. │  2. Features of the UpLoadProcessor System  │
  53. └─────────────────────────────────────────────┘
  54.  
  55.   ∙ Identifies and processes ARC, ARJ, HYP, LZH, PAK, SQZ, ZIP, ZOO and GIF
  56.     files, regardless of their file extensions (ideal for software distribution
  57.     network files, e.g. SDN).
  58.   ∙ Identifies and processes ARJ, LZH, PAK, SQZ and ZIP self-extracting (SFX)
  59.     archives.
  60.   ∙ Scans ARC, PAK, ZIP and ZIP SFX archives for DOS reserved keywords to
  61.     prevent hacking by hex-editing. (ARJ and LHA are resistant to these type of
  62.     hacking attempts).
  63.   ∙ Detects ARJ security envelopes and ZIP version 1.x and 2.x authenticity
  64.     verification (-AV) stamps and may be retained intact.
  65.   ∙ Detects and processes ARJ and ZIP archives with imbedded paths.
  66.   ∙ Detects and rejects encrypted ARJ and ZIP archives.
  67.   ∙ Selected uncompressed files uploaded can be processed and compressed using
  68.     your default format.
  69.   ∙ Removes known BBS ads from archives; includes a BBS ads maintenance utility
  70.     so sysops can update their BBS ads databases in real time. ULP can also
  71.     insert a BBS ad, if desired.
  72.   ∙ Updates the PCBoard DOWNLOAD.TXT file, if desired, with the correct archive
  73.     extension to reflect the conversion process.
  74.   ∙ Allows the use of up to 9 different archiving programs, all user-
  75.     configurable. Any archiving program used that is not listed above will be
  76.     identified using it's unique file extension only, until it's signature is
  77.     determined and incorporated into the program.
  78.   ∙ Uses a recursive processing routine that will allow (theoretically)
  79.     unlimited nested archives (the only limit is imposed by the DOS path). This
  80.     routine has been tested to 5 levels deep as of this writing.
  81.   ∙ Allows the use of up to 3 different file-checking programs, all user-
  82.     configurable, for virus and trojan checking, third-party utilities, etc.
  83.   ∙ Allows the use of a GIF file checking program, completely configurable.
  84.   ∙ Rejects GIF files based upon image width, height, colors and compression.
  85.   ∙ User-definable disposition (rename or delete) of corrupted, duplicate or
  86.     other archives (not virus-related).
  87.   ∙ User-definable disposition (rename or delete) of virus-infected archives.
  88.   ∙ Incorporates it's own CRC-32 duplicate checking system, as well as the
  89.     associated database processing software. No more executing (and
  90.     registering!) third-party duplication checking software, sacrificing speed
  91.     and memory. This system is extremely fast and it's database is much smaller
  92.     than other systems. Despite it's size, the probability of a false
  93.     duplication is almost 10 trillion to 1! The system is self-validating, to
  94.     quickly determine if a database has been corrupted or altered.
  95.   ∙ Optional seamless interface with the ZDCS duplication system by Mike Cocke.
  96.   ∙ ULP determines duplication using two filters, total duplication and
  97.     executable duplication, preventing false rejection by simply counting up
  98.     the number of blatantly duplicate files.
  99.   ∙ Converts all uploads into a default archive format of your choosing, or
  100.     they may be re-archived in their original format (user-defined). Nested
  101.     archives can also be converted to your default format, or re-archived using
  102.     their original format. SFX archives can be archived using your default
  103.     format, or optionally left alone after verification.
  104.   ∙ Can utilize a user-defined time window (in months) for acceptance of new
  105.     upload files, based on the average age of the files within the archive, or
  106.     optionally, the age of the newest file.
  107.   ∙ Changes all archive file attributes to 'read/write' from 'read-only'.
  108.   ∙ Supports the use of private and public upload directories. Moves files and
  109.     upload descriptions from the private directory to the public directory.
  110.     Single directory operation may also be configured.
  111.   ∙ Honors the '/' identifier in the description marking the file as a private
  112.     upload for the sysop by processing the file, but not making it public.
  113.   ∙ Supports the use of DESC.SDI and FILE-ID.DIZ description files in an
  114.     archive, user-configurable, for those not running PCBoard 14.5a+ and
  115.     PCBDESC.
  116.   ∙ Smart word-wrapping word-wraps descriptions or leaves them as entered,
  117.     depending upon the presence of boxes, etc.
  118.   ∙ Can optionally insert an archive or GIF information line in the file
  119.     description that contains various information about the archive or GIF
  120.     files.
  121.   ∙ Three modes of online testing are available: slow mode, which completely
  122.     processes files at the time of upload; normal mode, which fully unpacks the
  123.     archive and tests each file individually; and fast mode, which scans a ZIP
  124.     or ARJ archive directly for file CRCs and dates, and uses the archiving
  125.     program's internal integrity testing.
  126.   ∙ The online tester will accept a redirected ARJ or PKUNZIP archive listing
  127.     file to pre-verify the duplication and age limits before a user uploads the
  128.     actual archive, saving him or her wailing and gnashing of teeth.
  129.   ∙ ULPTEST can generate COM port status output to inform the online user of
  130.     the progress of testing. ULPTEST supports IRQs 2 through 7, non-standard
  131.     port addresses and baud rates to 115K in direct mode, and also supports
  132.     FOSSIL drivers. The port information can be defined on the command-line or
  133.     can be read directly from PCBOARD.DAT and PCBOARD.SYS. ULP can also be
  134.     implemented in a "seamless" mode (when registered) to look like a part of
  135.     PCBoard.
  136.   ∙ Import of FWKCS CRC databases is supported to ease transition to the ULP
  137.     duplication system. No need to rebuild databases for FWKCS users!
  138.   ∙ Archives failed for exceeding duplication limits can be viewed using ULPDB
  139.     (the database program), to allow easy determination of manual archive
  140.     acceptance.
  141.   ∙ User-selectable process logging to a disk file. Two logging modes are
  142.     available: terse and verbose.
  143.   ∙ Menu-driven windowed system manager for maximum ease of configuration.
  144.   ∙ Written mostly in C (and a little assembler) for optimal speed, using
  145.     Microsoft C 7.0, Borland C++ 3.1 and Turbo Assembler 3.0.
  146.  
  147.  
  148. ┌─────────────────────────────────────────────────────┐
  149. │  3. Files Included in the ULP Distribution Archive  │
  150. └─────────────────────────────────────────────────────┘
  151.  
  152.     ULP.EXE         Event upload processing program.
  153.     ULPTEST.EXE     On-line testing program for use in PCBTEST.BAT.
  154.     ULPDB.EXE       Duplication database creation and maintenance program.
  155.     ULPSM.EXE       System and configuration manager for the ULP system.
  156.     ULPADS.EXE      BBS ads database maintenance program.
  157.     ULPADS.DB       BBS ads database file.
  158.     ULP.CFG         Sample configuration file for the ULP system.
  159.     ULPDIR.CFG      Sample directory configuration file.
  160.     UPDATE.EXE      Configuration file conversion utility (if necessary).
  161.     EXCLUDE.LST     Sample exclusion list for archivers.
  162.     PCBTEST.BAT     Sample PCBTEST.BAT file for using ULPTEST.
  163.     ULP.DOC         This file.
  164.     Q&A.DOC         Answers to common questions regarding the ULP system.
  165.     HISTORY.TXT     ULP revision history in reverse order.
  166.     ULPBLT          Archive verification bulletin for sysops to post.
  167.     REGISTER.FRM    Registration form for ULP.
  168.     COMMENT.TXT     Sample comment file for inclusion in archive headers.
  169.     FILE_ID.DIZ     Internal description file.
  170.  
  171. When you unzip the distribution archive, you should see my PKZIP authenticity
  172. verification stamp, and a '-AV' after every file in the archive:
  173.  
  174.     # SSU301    The Bloom Beacon-Picayune BBS
  175.  
  176. If there are any files missing or added, or the -AV stamp is missing, the
  177. archive has been tampered with. It would be advisable to call my BBS (listed at
  178. the top of this document) for the latest version of ULP.
  179.  
  180.  
  181. ┌───────────────────────────┐
  182. │  4. Program Requirements  │
  183. └───────────────────────────┘
  184.  
  185. To the best of my knowledge, this program will run on most any machine capable
  186. of running PCBoard 14.5+. My BBS setup is DESQview on a LANtastic network with
  187. hard disks and CD-ROMs, but other sysops that I have been in contact with have
  188. successfully implemented ULP on setups other varying hardware and software.
  189.  
  190. ULP has been developed and tested using the following third party utilities:
  191.  
  192.     ARJ 2.10 through 2.41 (by Robert Jung)
  193.     HYPER 2.5 (by P. Sawatzki and K. P. Nischke)
  194.     LHA 2.12 and 2.13 (by Haruyasu Yoshizaki)
  195.     LHarc 1.13c (by Haruyasu Yoshizaki)
  196.     PAK 2.51 (by NoGate Consulting)
  197.     PKPAK 3.61 (by PKWare)
  198.     PKZIP 1.10 through 2.04g (by PKWare)
  199.     SQZ 1.08.2 (by Jonas Hammarberg)
  200.     ZOO 2.01 through 2.10 (by Rahul Deshi)
  201.     SCAN V82 through V106 (by McAfee Associates)
  202.     GIFTEST 4.0 Beta 10 through Beta 14 (by Dave Navarro)
  203.     ZDCS 2.02 (by Mike Cocke)
  204.  
  205. The ULP system requires DOS 3.x or later, as it uses DOS SHARE-compatible file
  206. reads and writes, and can use the DOS PATH to find the archiving and other
  207. utilities.
  208.  
  209. ULP and ULPTEST's memory requirements are relatively small (about 110K or so
  210. with data buffers allocated), but all programs are spawned or shelled, which
  211. reduces the free memory for the program being executed. It would be a good idea
  212. to have as much free conventional memory as possible (ULP itself cannot use EMS
  213. or XMS memory), especially if you use the ARJ compression system, which
  214. requires in the neighborhood of 300K itself to run.
  215.  
  216. ULPDB also should have as much conventional memory as can be afforded, as it
  217. performs its sort in memory for optimal speed; it may use from 120K to 575K of
  218. memory depending upon the operation being performed. If your duplication
  219. database is larger than 500K (over 50,000 file entries), ULPDB may utilize a
  220. segmented sort algorithm, which is slower but capable of completely compiling a
  221. database up to 128MB in size (almost 13,000,000 file entries)! The memory sort
  222. will probably be fine for many systems, as 50,000 files would probably average
  223. out to be about 4,000 to 5,000 typical archives.
  224.  
  225. Obviously, the 286+ and 386+ versions of these programs that is available to
  226. registered users will not run on a 8088, 8086 or 80186 (huh?) based computer.
  227. So don't try it (I haven't, so I don't have a clue what will happen...probably
  228. spontaneous combustion...).
  229.  
  230.  
  231. ┌───────────────────┐
  232. │  5. Registration  │
  233. └───────────────────┘
  234.  
  235. The ULP system is not free; nor is ULP is crippled to force registration. ULP
  236. is fully functional, and will always remain so. The only variation with the
  237. registered copies is no time delay and beg message.
  238.  
  239. Why register? Besides a clean conscience, you will get a registration code that
  240. will work for all future versions of ULP, and will remove the delay and message
  241. at the end of execution of each program. In addition, registration will allow
  242. you to run ULPTEST in a "seamless" mode so that it looks like a part of
  243. PCBoard to the user.
  244.  
  245. In addition, the registation code will allow use of the 286 or 386 specific
  246. versions of ULP that are made available only to registered users of ULP. These
  247. versions are slightly smaller and faster than the shareware 086+ version.
  248.  
  249. The registration fee for your unique code is $20 for non-commercial BBSes. The
  250. registration fee for commercial BBSes, defined as running your BBS in the
  251. course of a commercial business or for profit, is $40. Other variations are
  252. available; refer to the file REGISTER.FRM for all registration options. Please
  253. print the file REGISTER.FRM and fill it out. You can print out the form by
  254. issuing the following command from the DOS prompt:
  255.  
  256.     TYPE REGISTER.FRM > PRN
  257.  
  258.  
  259. ┌───────────────────────────────────────┐
  260. │  6. License, Warranty and Disclaimer  │
  261. └───────────────────────────────────────┘
  262.  
  263. I'll keep this part short and sweet, and dispense with the legal-ese:
  264.  
  265.     License: You are allowed to use ULP for 30 days, after which you must
  266.         either register ULP or stop using it completely. ULP registration is a
  267.         license for your use of ULP; I retain ownership of the software. A
  268.         single registration applies to a single BBS system, regardless of the
  269.         number of computers used in the system. If you run two or more distinct
  270.         BBS systems on the same computer or network (with different names), you
  271.         require two or more ULP registrations. Refer to the registration form
  272.         for the currect pricing structure.
  273.  
  274.     Warranty: There isn't one. The only thing I'll guarantee is that ULP will
  275.         take up disk space, and will disappear when deleted.
  276.  
  277.     Disclaimer: I'm not responsible for anything bad that happens. ULP works
  278.         here, but I cannot be held responsible for it not working on your
  279.         computer or doing any damage to hardware or software.
  280.  
  281. If these aren't agreeable with you, then the best thing to do is delete ULP
  282. right now. I'll do my best to help any user (registered or not) that wants to
  283. use ULP, and I'll act on bug reports quickly, but I simply cannot and will not
  284. be responsible for anything bad, like lost data, disk crashes, or whatever
  285. else you can think of.
  286.  
  287.  
  288. ┌────────────────────────────┐
  289. │  7. Conceptual Background  │
  290. └────────────────────────────┘
  291.  
  292. Since the ULP system is made up of several inter-operating programs, this
  293. overview and concept explanation should help you understand how ULP is
  294. designed to be used.
  295.  
  296. *******************************************************************************
  297.      READ THIS SECTION VERY CAREFULLY, AS IT WILL MAKE LIFE MUCH EASIER!!!
  298. *******************************************************************************
  299.  
  300. I believe that all responsible BBS sysops verify all of their uploads prior to
  301. posting them, in order to protect both themselves and their users. ULP is
  302. designed with idea in mind. Most, if not all, sysops process uploads in one of
  303. two ways (listed with benefits and liabilities as I see them):
  304.  
  305.     1) Make all uploads private, processing them during a system event.
  306.  
  307.        BENEFITS:
  308.            ∙ Takes up very little on-line time on the user's part to process
  309.              archives.
  310.            ∙ Allows the conversion of all archives to a default format, so that
  311.              the BBS archives are consistent.
  312.            ∙ Allows the BBS to accept any archive format...face it, it's hard
  313.              enough to get some of these weenies to upload, much less compress
  314.              them the same way.
  315.  
  316.        LIABILITIES:
  317.            ∙ Files are not available immediately for download.
  318.            ∙ The 'U' subcommand of PCBoard's (F)ile Directories command is no
  319.              longer available to the user (PCBoard 14.5a and below).
  320.            ∙ Does not catch duplicates or aged archives until after the user
  321.              has uploaded them, and perhaps leads to abuse by clever (?) users.
  322.              (It is assumed that these sysops still use the venerable 'PKUNZIP
  323.              -T' in their PCBTEST.BAT...)
  324.  
  325.     2) Process (test) each upload online after the user uploads them, and
  326.        making them available for immediate download.
  327.  
  328.        BENEFITS:
  329.            ∙ Catches duplicate, defective and aged archives while the user is
  330.              online, denying him upload credits.
  331.            ∙ Files are available immediately for download if they are not made
  332.              private in the PCBoard setup.
  333.  
  334.        LIABILITIES:
  335.            ∙ Takes up on-line time for a user, potentially adding to his
  336.              long-distance phone bill, discouraging further uploading; this
  337.              process is typically quite slow for large archives.
  338.            ∙ The archive format cannot be converted (a limitation of PCBoard),
  339.              leaving many different archive formats in your BBS directories.
  340.              Because of this, many sysops force users to use a specific format,
  341.              which may or may not be consistent with other BBS's the user
  342.              calls.
  343.  
  344. The ULP system takes the best of both of these methods of testing. ULP.EXE is
  345. an event-mode processor which will fully process every new archive found in the
  346. source upload directory, including archive format conversion, and optionally
  347. move the file and description to a destination directory. In the simplest
  348. ULP system setup, you MUST run ULP.EXE in your event to completely process all
  349. uploads to your system.
  350.  
  351. ULPTEST.EXE is an online processor, with a varying modes of operation, from
  352. complete processing to a very fast scan of the archive directly for data. These
  353. modes will allow you to run your BBS in the most efficient manner. Note that
  354. the conversion process MUST be handled by ULP during the system event, due to
  355. the design of PCBoard.
  356.  
  357. Pay attention to this part:
  358.  
  359. PCBoard normally has two upload directories for each conference: a private and
  360. a public directory. When PCBoard invokes PCBTEST.BAT, the upload is in the
  361. private directory. If the archive fails the testing, it will remain there.
  362. However, if it passes, one of two things will occur depending upon your system
  363. setup; if you have made all uploads private, the file will remain in the
  364. private directory; if you have not made uploads private, it will be moved BY
  365. PCBOARD (not ULPTEST) to the public directory.
  366.  
  367. If you have made all uploads private, then setup and configuration of ULP is a
  368. snap: the source directory is the private upload directory, and the destination
  369. is the public directory. However, if you want to allow users access to untested
  370. uploads, then your source directory is the public upload directory, and the
  371. destination information is left blank. To illustrate the operation:
  372.  
  373.   MAKE ALL UPLOADS PRIVATE           │  ALL UPLOADS AVAILABLE AFTER TESTING
  374.   ───────────────────────────────────┼─────────────────────────────────────
  375.   2 directories:  C:\PRIVATE         │  2 directories:  C:\PRIVATE
  376.                   C:\PUBLIC          │                  C:\PUBLIC
  377.                                      │
  378.   User uploads a file, gets placed   │  User uploads a file, gets placed
  379.   in C:\PRIVATE by PCBoard           │  in C:\PRIVATE by PCBoard
  380.                                      │
  381.   ULPTEST.EXE tests it               │  ULPTEST.EXE tests it
  382.                                      │
  383.   PCBoard leaves file in C:\PRIVATE  │  If it passes, PCBoard moves it to
  384.                                      │  C:\PUBLIC; if it fails, PCBoard
  385.                                      │  leaves it in C:\PRIVATE
  386.                                      │
  387.   ULP.EXE processes all new uploads  │  ULP.EXE processes all *new* uploads
  388.   found in C:\PRIVATE since last     │  found in C:\PUBLIC since last event
  389.   event and moves all good uploads   │
  390.   to C:\PUBLIC                       │
  391.  
  392. ULPTEST.EXE also has three modes of operation: slow, normal and fast. Slow mode
  393. completely tests the upload as in the event, except for archive conversion.
  394. Note that you MUST use the "all uploads public" mode of operation to run slow
  395. mode.
  396.  
  397. The normal mode decompresses the files, performs file, duplication and age
  398. checking, and then deletes the extracted files and returns to PCBoard,
  399. informing PCBoard of the test results. It does not recompress the archive,
  400. remove BBS ads, add information lines, etc.; this is saved for the event
  401. processing. This mode can be used with both setup paradigms, making all uploads
  402. private or public.
  403.  
  404. Fast mode DOES NOT decompress the file; it firsts performs an archive integrity
  405. check, then scans ARJ and ZIP archives directly for duplicate and age
  406. information, and then returns to PCBoard (if the archive is not ARJ or ZIP,
  407. then normal mode is forced). In fast mode, file checking (viruses, etc.) is
  408. left for ULP to do (which is why the above discussion regarding private/public
  409. directories is important). This mode can also be used either in making uploads
  410. public or private, although it would be a good idea to make them private with
  411. this mode, since the uploads are not file-checked (e.g. viruses) during
  412. test.
  413.  
  414. ULPTEST.EXE will also accept a redirected ARJ or PKUNZIP listing text file with
  415. the special name VERIFY.ULP as input to pre-verify an upload for a user, before
  416. the user actually spends his time uploading the file only to find out it won't
  417. pass the limits you set.
  418.  
  419.  
  420. ┌───────────────────┐
  421. │  8. Installation  │
  422. └───────────────────┘
  423.  
  424. GENERAL (REQUIRED!):
  425. ───────────────────
  426. Make a subdirectory on your hard drive. For the purposes of this document,
  427. we'll call it "C:\ULP". Unarchive the ULP distribution archive into this
  428. subdirectory. You've more than likely already made it this far, if you're
  429. reading this file. <g>
  430.  
  431. The ULP system opens several files at once for various reasons. I would
  432. recommend that you have a minimum of FILES=30 per node in your system
  433. CONFIG.SYS file, since ULPTEST is run in conjunction with PCBoard.
  434.  
  435. If you are running PCBoard under a network or a multitasking operating system,
  436. you should already have DOS's SHARE.EXE loaded. You must have SHARE loaded in
  437. order to take advantage of the file sharing and locking methods used by the ULP
  438. programs to prevent data loss. (If you are running a single-node system without
  439. a multitasker, SHARE is not needed).
  440.  
  441. * NOTE: DOS 5 has a documented bug when SHARE is loaded high, where it loses
  442.     the table in memory. Please load SHARE low to prevent potential sharing
  443.     problems.
  444.  
  445. Using ULPSM, configure the ULP system to suit your needs. Proper configuration
  446. will require you to refer to this section, the previous section and the section
  447. titled "Configuration", which has an in-depth explanation of each configuration
  448. option and its function. It would probably be wise to fire up your printer for
  449. this document.
  450.  
  451. For this document, we'll assume the name of your configuration file is
  452. "ULP.CFG".
  453.  
  454. Note that for any of the ULP programs, you can obtain a limited program syntax
  455. screen simply by executing the program with no arguments.
  456.  
  457. FOR EVENT-MODE UPLOAD PROCESSING (REQUIRED!):
  458. ────────────────────────────────────────────
  459. As a minimum setup, you MUST run ULP as an event-mode processor, as ULP.EXE
  460. handles most of the database updating, archive conversion, file and description
  461. moving, archive information line computation, and other features. THIS IS NOT
  462. AN OPTION!!!
  463.  
  464. Further, ULP requires that you define the upload disk directories and upload
  465. DIRxx files. They can be either a private/public setup or public setup, as
  466. described below (and in the 'principles of operation' section):
  467.  
  468.   - PRIVATE/PUBLIC SETUP:  This setup will not allow users to get to any
  469.     archive that has not been fully processed. In PCBSETUP, under Main Board
  470.     Configuration (and any other conferences you want ULP to process), make all
  471.     uploads private. Define a private upload directory and a private DIRxx file
  472.     (which should have already been done, since all sysop-only uploads are
  473.     placed here by PCBoard). In PCBSETUP, be sure to set the "make all uploads
  474.     private" flag to "Y". This is how I have my system setup.
  475.  
  476.   - PUBLIC SETUP:  This setup will allow users to download archives from the
  477.     public upload directory, including partially testing archives. In PCBSETUP,
  478.     under Main Board Configuration (and any other conferences you want ULP to
  479.     process), define a private upload directory and a private DIRxx file, and a
  480.     public upload directory and a public DIRxx file (this is where PCBoard will
  481.     place all new non-private uploads since you did not make them private). Be
  482.     sure to set the "make all uploads private" flag to "N".
  483.  
  484. To process your uploads during your system event, add the following lines to
  485. your EVENT.SYS file (be sure to change the drive and path as necessary):
  486.  
  487.     C:
  488.     CD \ULP
  489.     ULP -CULP.CFG
  490.  
  491. ULP will lock the duplication database, preventing any other program from
  492. accessing them (ULPTEST and ULPDB, specifically). Therefore, I strongly suggest
  493. you have all nodes down when running ULP.EXE, or at least disable uploading
  494. during this time.
  495.  
  496. Once you have ULP configured, before you run ULP for the first time, the
  497. process data file must be initialized (either via ULPSM or using ULP.EXE's -I
  498. parameter). The syntax for ULP.EXE is as follows, but please refer to the
  499. manual operation section below for more information:
  500.  
  501.     ULP -CULP.CFG -I
  502.  
  503. This is only done ONCE, and never needs to be done again; ULP maintains this
  504. file as a course of action during normal operation.
  505.  
  506. FOR THE INTEGRATED CRC-32 DUPLICATION CHECKER (HIGHLY RECOMMENDED):
  507. ───────────────────────────────────────────────────────────────────
  508. Initially, you must create the CRC database from scratch. If you have mostly
  509. ZIP and ARJ files, then this should be very quick (on the order of 10 minutes
  510. per 1000 archives for my 10MHz AT clone on a hard disk; a CD-ROM will be
  511. somewhat slower). After you configure ULP, go to the ULP directory and this
  512. command will create and compile your database of your current downloadable file
  513. base:
  514.  
  515.     ULPDB -CULP.CFG -A@C:\PCB\GEN\DLPATH.LST -S
  516.  
  517. The '@' symbol (a '!' may also be used) indicates to ULPDB that the argument is
  518. a list file, not a directory. The list file must have one path per line, and
  519. each path must end with a trailing backslash. In general, you may simply use
  520. your PCBoard DLPATH.LST file, unless you index your downloads.
  521.  
  522. If you would like to include any off-line files in your CRC database (or have
  523. to add files originally not included in the database) you can temporarily copy
  524. your offline files to a temp directory (for the sake of argumentation, let's
  525. call it "C:\TEMP\"; note the trailing backslash). You can then add and compile
  526. them into the CRC database with the following command (no list symbol!):
  527.  
  528.     ULPDB -CULP.CFG -AC:\TEMP\ -S
  529.  
  530. After you've added the offline files, just delete them from the disk, and if
  531. someone uploads a file that you already have, it will be rejected.
  532.  
  533. * NOTE: The default method of database generation will be the fastest mode
  534.     since ULPDB will scan ARJ and ZIP archives for CRCs without unpacking. This
  535.     is not as accurate as recursively unpacking the archives since ULPDB can
  536.     only 'see' one level deep into an archive; nested information will not be
  537.     obtained. If this poses a problem, add the -U parameter to the end of the
  538.     command lines above; this will force ULPDB to unpack all archives and
  539.     compute the CRCs. This will be significantly slower than the default
  540.     method, but 100% accurate.
  541.  
  542. If you already have a FWKCS duplication database, you can import and translate
  543. it into the ULP database by using the -I command line parameter. ULPDB will
  544. prompt you for which database format it is, and will then proceed to import it
  545. into the ULP database defined in ULP.CFG:
  546.  
  547.     ULPDB -CULP.CFG -IC:\FWKCS\CSLIST -S
  548.  
  549. Once you have your database built, you should also perform maintenance on the
  550. duplication database files regularly. This will compile any new data from the
  551. day's uploads into the main database, and remove any added temporary data from
  552. ULPTEST. This is not required to be done every day, but it will speed the
  553. duplicate checking of ULP and ULPTEST. To perform database maintenance, add the
  554. following line to your PCBoard EVENT.SYS after the event-mode processor has
  555. run:
  556.  
  557.     C:                    ──────┐        These lines are repeated
  558.     CD \ULP                     ├─────   for clarity.
  559.     ULP -CULP.CFG         ──────┘
  560.     ULPDB -CULP.CFG -S
  561.  
  562. ULPDB also locks the duplication database, preventing any other program from
  563. accessing them. I strongly suggest you have all nodes down when running ULPDB.
  564.  
  565. IF YOU USE PCBOARD'S 'TESTFILE.EXE' UTILITY:
  566. ────────────────────────────────────────────
  567. * NOTE: If you are unfamiliar with the operation of PCBTEST.BAT, you will need
  568.     to refer to the PCBoard manual for an explanation of PCBTEST.BAT and
  569.     TESTFILE.EXE.
  570.  
  571. In general, the use of TESTFILE.EXE is not necessary with ULPTEST. ULPTEST is
  572. fully capable of handling most any situation that arises. However, if you must
  573. use TESTFILE.EXE for some reason, in order to take advantage of the upload
  574. pre-verification abilities of ULPTEST, you must add the extension 'ULP' to the
  575. TESTFILE.EXE extension list. This will allow the file 'VERIFY.ULP' to pass
  576. through the filter created by TESTFILE so that ULPTEST may scan it. You will
  577. also have to add 'EXE' to your extension list if you use TESTFILE.EXE, to allow
  578. SFX archives to be processed by ULPTEST.
  579.  
  580. FOR THE ONLINE UPLOAD TESTING (OPTIONAL):
  581. ─────────────────────────────────────────
  582. Online testing of archives can greatly reduce the amount of garbage your BBS
  583. can pick up from user's uploading defective archives, ancient files, and
  584. duplicates. The theory that ULPTEST uses is to simply check the archive AS
  585. FAST AS IT CAN for archive integrity, duplication, and age, and then return
  586. the user to greater and better things. ULP.EXE will handle everything else
  587. during the system event.
  588.  
  589. * NOTE: In order to use ULPTEST, you must set PCBoard to swap by adding the
  590.     /SWAP switch to the SET PCB= environment variable in BOARD.BAT (in PCBoard
  591.     15.0, this is in PCBSETUP, not the environment variable). Otherwise, there
  592.     will not be enough memory for ULPTEST to execute programs like ARJ, SCAN,
  593.     etc.
  594.  
  595. To use ULPTEST.EXE for on-line testing of archives, use the following command
  596. line in PCBTEST.BAT (refer to the sample PCBTEST.BAT included in the ULP
  597. distribution archive, and the PCBoard manual, to get the general logic of
  598. PCBTEST.BAT's operation). Note the explicit paths to the ULPTEST executable and
  599. the ULP configuration file:
  600.  
  601.     C:\ULP\ULPTEST -CC:\ULP\ULP.CFG -F%1 -M%2 -D%3
  602.  
  603. ULPTEST will garner any other information that is required for operation from
  604. the PCBOARD.DAT and PCBOARD.SYS files. In most installations, ULPTEST will
  605. locate these two system files via the environment variables PCBDAT, PCBDRIVE
  606. and PCBDIR. If the environment variables are used, PCBDIR and PCBDAT are
  607. required; PCBDRIVE is required only if the BBS drop files exist on a different
  608. drive than PCBTEST.BAT is being executed from.
  609.  
  610. * NOTE: Don't rely on PCBoard to create these variables; it only does so prior
  611.     to executing a door. As a last resort, ULPTEST will look in the current
  612.     directory for the files it requires.
  613.  
  614. If you have the environment variables disabled in PCBoard (using the /NOENV
  615. switch), you can define the location of these files by adding the -P parameter:
  616.  
  617.     C:\ULP\ULPTEST -CC:\ULP\ULP.CFG -F%1 -M%2 -D%3 -PC:\PCB\NODE1\
  618.  
  619. Or, or you can provide the port and node number information directly to ULPTEST
  620. by using the -N, -I, -A and -B command switches:
  621.  
  622.     C:\ULP\ULPTEST -CC:\ULP\ULP.CFG -F%1 -M%2 -D%3 -N5 -I4 -A3F8 -B38400
  623.  
  624. where -N is the node number, -I is the port IRQ line, -A is the port base
  625. address (in hex) and -B is the baud rate of the port. If you are using the
  626. DSZPORT environment variable to define the port IRQ and address to DSZ, ULPTEST
  627. will use this information as well. Refer to the documentation for DSZ for the
  628. proper specification of the DSZPORT environment variable.
  629.  
  630. In addition, regardless of the method used to inform ULPTEST of the port
  631. information, ULPTEST defaults to using hardware handshaking. If you want to use
  632. software (XON/XOFF) handshaking or both, use the -H command switch with either
  633. HARDWARE, SOFTWARE or BOTH as the argument:
  634.  
  635.     C:\ULP\ULPTEST -CC:\ULP\ULP.CFG -F%1 -M%2 -D%3 -Hboth
  636.  
  637. ULPTEST is also capable of using a FOSSIL driver, and automatically detects if
  638. you are running PCBoard /M and uses the appropriate FOSSIL port. However, if
  639. you wish to force ULPTEST to use a FOSSIL driver (for example, to access high
  640. IRQs), use the -X command switch with the FOSSIL port number as the argument:
  641.  
  642.     C:\ULP\ULPTEST -CC:\ULP\ULP.CFG -F%1 -M%2 -D%3 -X1
  643.  
  644. During the course of testing, ULPTEST will output the current testing status to
  645. the user online. Note that this information is not displayed locally; it is
  646. being transmitted to the online user only. The program header can be disabled
  647. in registered versions of ULP, making ULPTEST seamless to look like a part of
  648. PCBoard itself. A sample follows:
  649.  
  650.     Verifying FILENAME.ZIP...
  651.     ┌────────────────────────────────┐
  652.     │      UpLoadProcessor 1.00      │  Registered to: Bloom Beacon-Picayune
  653.     │ Copyright 1992-93  Stacy Smith │  Serial number: 1000
  654.     └────────────────────────────────┘
  655.        Identifying file archive format...ZIP
  656.        Screening archive for corruption...OK
  657.        Unpacking archive...OK
  658.        Testing files for viruses, etc...OK
  659.        Checking for duplicate files...OK
  660.        Checking age of files...OK
  661.        Archive passed.
  662.  
  663. ULPTEST will return a DOS errorlevel of 0 if the archive is OK, and an
  664. errorlevel of 1-13 if there was an error (depending on the error). This allows
  665. the PCBTEST.BAT batch file to branch based upon the results of the ULPTEST. The
  666. appendix to this document lists all of the DOS errorlevels set by various ULP
  667. programs.
  668.  
  669. ULPTEST also creates the requires PCBPASS.TXT and PCBFAIL.TXT for PCBoard to
  670. determine if the archive passed or not.
  671.  
  672.  
  673. ┌────────────────────┐
  674. │  9. Configuration  │
  675. └────────────────────┘
  676.  
  677. ULPSM makes the configuration process very easy for the ULP system. The sample
  678. configuration files provided in the distribution archive contain much of the
  679. information required, but needs to be customized to some degree to fit your
  680. application.
  681.  
  682. To begin ULPSM, you must include a configuration filename on the command-line,
  683. denoted by the -C switch. For example, to edit the default configuration file,
  684. ULP.CFG, type:
  685.  
  686.     ULPSM -CULP.CFG
  687.  
  688. and the main menu screen will appear:
  689.  
  690. ┌───────────────────────────────┐┌─────────────── Registered To ──────────────┐
  691. │   ULP System Manager 1.00     ││                UNREGISTERED                │
  692. │ Copyright 1992-93 Stacy Smith ││              SYSOP - S/N 0000              │
  693. └───────────────────────────────┘└────────────────────────────────────────────┘
  694. ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  695. ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  696. ░░░░░░░░░░░░░░░░░░░░░░░┌────────────────────────────────┐░░░░░░░░░░░░░░░░░░░░░░
  697. ░░░░░░░░░░░░░░░░░░░░░░░│  A - Registration information  │░░░░░░░░░░░░░░░░░░░░░░
  698. ░░░░░░░░░░░░░░░░░░░░░░░│  B - General options           │░░░░░░░░░░░░░░░░░░░░░░
  699. ░░░░░░░░░░░░░░░░░░░░░░░│  C - Upload directories        │░░░░░░░░░░░░░░░░░░░░░░
  700. ░░░░░░░░░░░░░░░░░░░░░░░│  D - Archiving options         │░░░░░░░░░░░░░░░░░░░░░░
  701. ░░░░░░░░░░░░░░░░░░░░░░░│  E - Archivers                 │░░░░░░░░░░░░░░░░░░░░░░
  702. ░░░░░░░░░░░░░░░░░░░░░░░│  F - Virus/file testers        │░░░░░░░░░░░░░░░░░░░░░░
  703. ░░░░░░░░░░░░░░░░░░░░░░░│  G - Duplicate checking        │░░░░░░░░░░░░░░░░░░░░░░
  704. ░░░░░░░░░░░░░░░░░░░░░░░│  H - Age checking              │░░░░░░░░░░░░░░░░░░░░░░
  705. ░░░░░░░░░░░░░░░░░░░░░░░│  I - BBS ad processing         │░░░░░░░░░░░░░░░░░░░░░░
  706. ░░░░░░░░░░░░░░░░░░░░░░░│  J - GIF file testing          │░░░░░░░░░░░░░░░░░░░░░░
  707. ░░░░░░░░░░░░░░░░░░░░░░░│  K - Description processing    │░░░░░░░░░░░░░░░░░░░░░░
  708. ░░░░░░░░░░░░░░░░░░░░░░░│  L - Online testing            │░░░░░░░░░░░░░░░░░░░░░░
  709. ░░░░░░░░░░░░░░░░░░░░░░░│  M - Special-case files        │░░░░░░░░░░░░░░░░░░░░░░
  710. ░░░░░░░░░░░░░░░░░░░░░░░│  N - Init process data file    │░░░░░░░░░░░░░░░░░░░░░░
  711. ░░░░░░░░░░░░░░░░░░░░░░░└────────────────────────────────┘░░░░░░░░░░░░░░░░░░░░░░
  712. ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  713. ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  714. ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  715.  
  716. Using the up and down arrow keys, you can select any of the options. A shortcut
  717. is to type the letter preceding the option you wish to edit. If you press your
  718. escape key (ESC), the following pop-up question box will appear:
  719.  
  720.     ┌─────────────────────────────────────────────────────────────────┐
  721.     │  Do you wish to save the ULP configuration file (Y/N or Esc)?   │
  722.     └─────────────────────────────────────────────────────────────────┘
  723.  
  724. To save any edits you made to the data to the disk configuration file, type
  725. "Y", otherwise type "N" or press the ESC again. Note that, with the exception
  726. of the upload directory configuration information, no data is saved until you
  727. do so when exiting ULPSM.
  728.  
  729. A - REGISTRATION INFORMATION
  730. ────────────────────────────
  731. When selected, the following pop-up box will appear. By using the up and down
  732. arrow keys, you can move the cursor to the desired field to be edited.
  733.  
  734.     ┌───────────────────────────────────────────────────────────────┐
  735.     │  Sysop name         SYSOP                                     │
  736.     │  BBS name           UNREGISTERED                              │
  737.     │  Registration code  0000000000                                │
  738.     └───────────────────────────────────── [F10] Keep  [ESC] Abort ─┘
  739.  
  740. Sysop name - Enter EXACTLY as provided to you on your registration letter. If
  741.     this is an unregistered version, leave the default of SYSOP. Note that this
  742.     field is case-sensitive!
  743. BBS name - Enter EXACTLY as provided to you on your registration letter. If
  744.     this is an unregistered version, leave the default of "UNREGISTERED". This
  745.     field is also case-sensitive!
  746. Registration code - Enter EXACTLY as provided to you on your registration
  747.     letter. If this is an unregistered version, leave the default of
  748.     "0000000000". This is also case-sensitive...you get the picture by now...
  749.  
  750. After editing the fields, press F10 to keep the edits, or press ESC to abort
  751. the changes. In either instance, you will be returned to the main menu after
  752. the data has been automatically checked for errors. Any errors detected in the
  753. data will generate a pop-up error window that describes the error.
  754.  
  755. B - GENERAL OPTIONS
  756. ───────────────────
  757. When selected, the following pop-up box will appear. By using the up and down
  758. arrow keys, you can move the cursor to the desired field to be edited.
  759.  
  760.     ┌─────────────────────────────────────────────────────────┐
  761.     │  Error disposition  (Keep/Delete/Rename)  R             │
  762.     │  Virus disposition  (Keep/Delete/Rename)  R             │
  763.     │  Work subdirectory      D:\WORK\                        │
  764.     │  Disk log file          C:\ULP\ULP.LOG                  │
  765.     │  Disk logging mode  (Terse/Verbose)  V                  │
  766.     │  Disk read buffer size  (K)          4                  │
  767.     │  Swapping (None/Ems/Xms/Disk/Auto)   A                  │
  768.     │  Internal file deletion  (Yes/No)    Y                  │
  769.     │  Update DOWNLOAD.TXT file  (Yes/No)  Y                  │
  770.     │  DOWNLOAD.TXT file      C:\PCB\MAIN\DOWNLOAD.TXT        │
  771.     │  Privileged users list  C:\ULP\PRIVUSER.LST             │
  772.     │  File viewing utility   LIST @FILE@                     │
  773.     └─────────────────────────────── [F10] Keep  [ESC] Abort ─┘
  774.  
  775. Error Disposition - This defines how ULP dispositions archives found to have an
  776.     error other than a file check failure. These kind of errors take the form
  777.     of ZIP CRCs, duplication, age, etc., and are not potentially system-
  778.     damaging. Under some conditions, these archives can be restored. If you
  779.     want ULP to delete the failed archive and description, enter "D"; if you
  780.     want ULP to rename the archive to a error extension, enter "R". If, for
  781.     some reason, you wish to keep the files without renaming, enter "K".
  782. Virus Disposition - This defines how ULP dispositions archives that fail a file
  783.     check, such as a virus scan. These errors are potentially system-damaging.
  784.     If you want ULP to delete the failed archive and description, enter "D"; if
  785.     you want ULP to rename the archive to a .CHK extension, enter "R". If you
  786.     wish to keep the defective files without renaming, enter "K".
  787. Work subdirectory - If you want ULP, ULPTEST or ULPDB to use a specific
  788.     subdirectory for storage while processing, enter the full pathname
  789.     (including the trailing backslash; ULPSM will add it if necessary.). The
  790.     drive letter MUST be included. If this directory does not exist at runtime,
  791.     the ULP programs will attempt to create it. This can be set to a RAM disk
  792.     for greater speed. ULP will check the drive specified for at least 5 times
  793.     the archive size before attempting to decompress the archive. If you do not
  794.     desire to use a specific directory, leave it blank (the ULP programs will
  795.     extract on the drive from which it was executed). ULP will also accept an
  796.     environment variable defined using the '%VARIABLE%' convention. Note that
  797.     the environment variable must conform to the rules (trailing backslash,
  798.     path length, etc.).
  799. Disk log file - All of the ULP programs will write process and error
  800.     information to a log file, if desired. This is the path/filename of the log
  801.     file for ULP to record its activities. Leave it blank if you don't want any
  802.     disk logging.
  803. Disk logging mode - If you want ULP and ULPTEST to record statistics for each
  804.     archive processed to the log file (verbose mode), enter "V". If you only
  805.     want errors and disposition information (terse mode), logged to disk, enter
  806.     "T". Verbose mode will quickly produce a large log file, but gives much
  807.     more insight into what ULP is doing and why a particular upload failed.
  808. Disk read buffer size - The size of the disk I/O buffer you wish to allocate in
  809.     kilobytes (valid values are between 2K bytes and 16K bytes). Optimal
  810.     performance is obtained with a value that is a multiple of 2K bytes, since
  811.     this is the size of a typical hard disk cluster. 4K seems to be a good
  812.     number for me, although a larger size may improve performance a little. If
  813.     you find yourself running out of memory when executing archivers or file
  814.     checking programs, reduce this number to increase your available memory.
  815. Swap for external programs - If you wish the ULP programs to swap themselves
  816.     out of memory prior to executing external programs, set this parameter to
  817.     the type of swapping desired (E for EMS, X for XMS, D for disk and A for
  818.     automatic detection). If you do not want this feature, enter "N". This
  819.     feature will be of most benefit to users using ARJ to compress archives,
  820.     networked systems and small DESQview windows. Use this feature ONLY if you
  821.     have a memory crunch.
  822. Internal file deletion - If the ULP programs are to delete the extracted files
  823.     themselves, versus using DOS, set this parameter to "Y". If not, enter "N".
  824.     In some cases, letting DOS do the work is faster, but foreign language
  825.     implementations of DOS may prevent this ability, since they do not all use
  826.     "Y" as the acceptance character.
  827. Update DOWNLOAD.TXT file - If ULP is to scan your DOWNLOAD.TXT file and update
  828.     the file extension of the upload to reflect the correct archiving method
  829.     used, enter "Y", otherwise enter "N". This feature will allow utilities
  830.     that scan DOWNLOAD.TXT for file information to reflect correct information.
  831.     If you are using a utility that creates an independent database from the
  832.     DOWNLOAD.TXT file, such as PCBFX version 2.x, be sure ULP.EXE is run in the
  833.     event BEFORE that utility so the independent database reflects the changes
  834.     that ULP makes to DOWNLOAD.TXT.
  835. DOWNLOAD.TXT file - The full path and filename for the DOWNLOAD.TXT file. This
  836.     field is necessary only if the "Update DOWNLOAD.TXT file" is set to "Y".
  837. Privileged user list - ULP can use an ASCII text file to disable duplication
  838.     and age failures if the user's name is listed in this file. If you wish to
  839.     use this function, enter the full path and filename for the list file,
  840.     otherwise, leave it blank. The format of the file is a single name
  841.     per line; case is not important.
  842. File viewing utility - The command line for an ASCII file viewing (or editing)
  843.     utility, such as Vernon Buerg's venerable LIST utility. This will be called
  844.     by ULPDB to facilitate viewing of an archive information file generated for
  845.     the purposes of archive review. Place the @FILE@ variable (all caps) where
  846.     the filename is to be entered on the utility's command line.
  847.  
  848. After editing the fields, press F10 to keep the edits, or press ESC to abort
  849. the changes. In either instance, you will be returned to the main menu after
  850. the data has been automatically checked for errors.
  851.  
  852. C - UPLOAD DIRECTORIES
  853. ──────────────────────
  854. When selected, the following pop-up box will appear. By using the up and down
  855. arrow keys, you can move the cursor to the desired field to be edited.
  856.  
  857.     ┌────────────────────────────────────────────────────────────────┐
  858.     │  Upload directory config file  C:\ULP\ULP.DIR                  │
  859.     │  Upload directory definitions page number  (1-5)  1            │
  860.     └───────────────────────────────────────────── [Enter] Continue ─┘
  861.  
  862. Upload directory config file - The filename of the upload directory
  863.     configuration file for ULP. This file is automatically created by ULPSM.EXE
  864.     from data entered in the following screen(s), and must be defined for ULP
  865.     to operate.
  866. Upload directory definitions page number - The editing of the upload
  867.     directories is broken into 5 pages, with 3 directories per screen. You can
  868.     configure a total of 15 directories to be processed by ULP (this was an
  869.     arbitrarily-chosen limit, and can be changed if desired). Enter the number
  870.     of the page you wish to edit.
  871.  
  872. After editing the fields, press ENTER to continue. The following pop-up box
  873. will appear, displaying the page requested:
  874.  
  875.     ┌─────────────────────────────────────────────────────────────────────────┐
  876.     │  Source directory path                  C:\PRIVATE1\                    │
  877.     │  Source directory list file             C:\PCB\GEN\PRIVDIR1             │
  878.     │  Number of header lines in source list  1                               │
  879.     │  Destination directory path             C:\PUBLIC1\                     │
  880.     │  Destination directory list file        C:\PCB\GEN\PUBLDIR1             │
  881.     │                                                                         │
  882.     │  Source directory path                  C:\PUBLIC2\                     │
  883.     │  Source directory list file             C:\PCB\GEN\PUBLDIR2             │
  884.     │  Number of header lines in source list  1                               │
  885.     │  Destination directory path                                             │
  886.     │  Destination directory list file                                        │
  887.     │                                                                         │
  888.     │  Source directory path                                                  │
  889.     │  Source directory list file                                             │
  890.     │  Number of header lines in source list  0                               │
  891.     │  Destination directory path                                             │
  892.     │  Destination directory list file                                        │
  893.     └─ Page 1 of 5 ───────────────────────────────── [F10] Save  [ESC] Abort ─┘
  894.  
  895. Source directory path - The directory where the uploads are placed by PCBoard.
  896.     This must include the trailing backslash, ULPSM will add it if necessary.
  897.     If you have "make all uploads private" in PCBSETUP set to "Y", this will be
  898.     your private upload subdirectory; if set to "N", this will be your public
  899.     upload subdirectory. This path must match EXACTLY the appropriate path in
  900.     PCBSETUP (e.g. don't have one named 'C:\DIR\' and the other just '\DIR\').
  901. Source directory list file - The upload directory list file that corresponds to
  902.     the subdirectory defined in "Source directory path" containing the archive
  903.     descriptions.
  904. Number of header lines in source list - The number of lines to ignore at the
  905.     beginning of the source directory list file (for headers, detachable header
  906.     filespecs, etc.)
  907. Destination directory path - The directory where the uploads are to be placed
  908.     by ULP after processing. This must include the trailing backslash, ULPSM
  909.     will add it if necessary. If you have "make all uploads private" in
  910.     PCBSETUP set to "Y", this will be your public upload subdirectory. If you
  911.     have "make all uploads private" set to "N", leave this field blank.
  912. Destination directory list file - The upload directory list file that
  913.     corresponds to the subdirectory defined in "Destination directory path"
  914.     containing the archive descriptions, or blank if "Destination directory
  915.     path" was left blank.
  916.  
  917. After editing the fields on this page, press F10 to save the edits to the
  918. upload directory configuration file on disk, or press ESC to abort the changes.
  919.  
  920. D - ARCHIVING OPTIONS
  921. ─────────────────────
  922. When selected, the following pop-up box will appear. By using the up and down
  923. arrow keys, you can move the cursor to the desired field to be edited.
  924.  
  925.     ┌─────────────────────────────────────────────────┐
  926.     │  Convert archives  (Yes/No)                  Y  │
  927.     │  Convert nested archives  (Yes/No)           N  │
  928.     │  Convert self-extracting archives  (Yes/No)  N  │
  929.     │  Convert -AV stamped ZIP archives  (Yes/No)  N  │
  930.     │  Convert secured ARJ archives  (Yes/No)      N  │
  931.     └─────────────────────── [F10] Keep  [ESC] Abort ─┘
  932.  
  933. Convert archives - If you want ULP to convert the archive to a default
  934.     archiving format of your choice, enter "Y"; if not, enter "N". This only
  935.     affects the 'root' level of the archive. This flag has no affect on the
  936.     conversion of internal, nested archives.
  937. Convert nested archives - If you want ULP to convert any internal archives
  938.     found inside the archive to your default archiving format, type "Y";
  939.     otherwise, type "N", and they will be rearchived using the original
  940.     archiving method (using the original extension, even if it isn't that
  941.     archiver's default extension). The benefit of converting nested archives is
  942.     that it may save some disk space; on the down side, it will potentially
  943.     break automatic installation programs/batch files that may be contained
  944.     within the archive that expect a certain format nested file.
  945. Convert self-extracting archives - If you want ULP to convert a self-extracting
  946.     (SFX) archive to your default archiving format, type "Y"; if not, type "N".
  947.     If NO is selected, the SFX archive will be processed, and then left alone
  948.     if it passes (NOT re-archived!). The reasoning for this is the LHA
  949.     autostart batch files and other similar features; they are usually used for
  950.     novice users and for automatic installation. By converting SFX archives,
  951.     this may save some disk space, but can cause inconveniences. For example,
  952.     if you don't have PKZnnn.EXE on your BBS, a novice user has no way of
  953.     obtaining the PKZIP utilities from your BBS. If there is a BBS ad in a SFX
  954.     archive, and this flag is set to "N", the ad will remain in the archive.
  955.     Can't be helped at the moment...
  956. Convert -AV stamped ZIP archives - If you want ULP to convert ZIP archives with
  957.     authenticity verification stamps (-AV), enter "N". If you set this flag to
  958.     "Y", then the original archive will be retained after processing. If there
  959.     is a BBS ad in a -AV stamped archive, and this flag is set to "N", the ad
  960.     will remain in the archive.
  961. Convert secured ARJ archives - If you want ULP to convert ARJ archives with
  962.     security envelopes (similar to a ZIP -AV), then set this to "Y". If you set
  963.     this flag to "N", then the original archive will be retained. If there is a
  964.     BBS ad in a secured archive, and this flag is set to "N", the ad will
  965.     remain in the archive.
  966.  
  967. After editing the fields, press F10 to keep the edits, or press ESC to abort
  968. the changes.
  969.  
  970. E - ARCHIVERS
  971. ─────────────
  972. When selected, the following pop-up box will appear:
  973.  
  974.     ┌──────────────────────────────────────────────┐
  975.     │  Archiver definitions page number  (1-3)  1  │
  976.     └─────────────────────────── [Enter] Continue ─┘
  977.  
  978. Archiver definitions page number - The editing of the archiver information is
  979.     broken into 3 pages, with 3 archivers per screen. You can configure a total
  980.     of 9 archivers to be utilized by ULP (this was an arbitrarily-chosen limit,
  981.     and can be changed if desired). Enter the number of the page you wish to
  982.     edit.
  983.  
  984. After editing the field, press ENTER to continue. The following pop-up box will
  985. appear, displaying the page requested:
  986.  
  987.     ┌─────────────────────────────────────────────────────────────────────────┐
  988.     │ Extension  ARC    Primary format (Yes/No)  N   Successful errorlevel  0 │
  989.     │ Pack     c:\util\pkpak -a @ARC@ @FILE@                                  │
  990.     │ Unpack   c:\util\pkunpak -r @ARC@                                       │
  991.     │ Test     c:\util\pkunpak -t @ARC@                                       │
  992.     │ Comment                                                                 │
  993.     │                                                                         │
  994.     │ Extension  ARJ    Primary format (Yes/No)  N   Successful errorlevel  0 │
  995.     │ Pack     c:\util\arj a -e -jm -m1 @ARC@ @FILE@                          │
  996.     │ Unpack   c:\util\arj e -y @ARC@                                         │
  997.     │ Test     c:\util\arj t @ARC@                                            │
  998.     │ Comment  c:\util\arj c -zc:\ulp\comment.txt @ARC@                       │
  999.     │                                                                         │
  1000.     │ Extension  HYP    Primary format (Yes/No)  N   Successful errorlevel  0 │
  1001.     │ Pack     c:\util\hyper -a @ARC@ @FILE@                                  │
  1002.     │ Unpack   c:\util\hyper -x @ARC@                                         │
  1003.     │ Test     c:\util\hyper -v @ARC@                                         │
  1004.     │ Comment                                                                 │
  1005.     └─ Page 1 of 3 ───────────────────────────────── [F10] Keep  [ESC] Abort ─┘
  1006.  
  1007. Extension - The default extension for this particular archiving format. ULP is
  1008.     capable of automatically detecting ARC, ARJ, HYP, LZH, PAK, SQZ, ZIP and
  1009.     ZOO archives, and will process them regardless of extension. If you add
  1010.     another archiver that is not automatically detected by ULP, it will be
  1011.     detected by the configured extension only.
  1012. Primary format - If this is the default archiving format you use on your BBS,
  1013.     type "Y"; if not, type "N". There can be only one default archiver, and
  1014.     in the event more than one flag is set, ULPSM will take the first one in
  1015.     the list with the flag set as the default.
  1016. Successful errorlevel - The errorlevel that the archiver returns upon a
  1017.     successful execution. This information should be available in the program's
  1018.     documentation. This is how ULP determines if an archiver is functioning
  1019.     properly, so any archiver configured must return errorlevels that are
  1020.     different for success than errors.
  1021. Pack - The command line to pack archives, including all command-line switches
  1022.     desired. Place the variable @ARC@ (all caps) where the filename is to be
  1023.     inserted in the command line and @FILE@ (also all caps) where the filespec
  1024.     is to be inserted. This cannot be a batch file, nor is DOS re-direction
  1025.     allowed. If you do not explicitly define the path to your archiver(s), it
  1026.     must in a directory included in the DOS 'PATH' environment variable.
  1027. Unpack - The command line to unpack archives, including all command-line
  1028.     switches desired. Place the variable @ARC@ where the filename is to be
  1029.     inserted in the command line. This cannot be a batch file, nor is DOS
  1030.     re-direction allowed.
  1031. Test - The command line for the archiver to test archive integrity, including
  1032.     all command-line switches desired. Place the variable @ARC@ where the
  1033.     filename is to be inserted in the command line. This cannot be a batch
  1034.     file, nor is DOS re-direction allowed.
  1035. Comment - The command line to comment archives. Place the variable @ARC@ where
  1036.     the filename is to be inserted in the command line. If the archiver does
  1037.     not support comments, or if you do not wish to add comments, leave the
  1038.     field blank. This cannot be a batch file, but DOS redirection is permitted
  1039.     to pipe a file into the archiver (PKZIP, for example).
  1040.  
  1041. After editing the fields, press F10 to keep the edits, or press ESC to abort
  1042. the changes.
  1043.  
  1044. F - VIRUS/FILE TESTERS
  1045. ──────────────────────
  1046. When selected, the following pop-up box will appear. By using the up and down
  1047. arrow keys, you can move the cursor to the desired field to be edited.
  1048.  
  1049.     ┌─────────────────────────────────────────────────────────────────────────┐
  1050.     │  Command 1  h:\util\scan /a /nomem /nopause @FILE@                      │
  1051.     │  Successful errorlevel  0                                               │
  1052.     │                                                                         │
  1053.     │  Command 2                                                              │
  1054.     │  Successful errorlevel  0                                               │
  1055.     │                                                                         │
  1056.     │  Command 3                                                              │
  1057.     │  Successful errorlevel  0                                               │
  1058.     └─────────────────────────────────────────────── [F10] Keep  [ESC] Abort ─┘
  1059.  
  1060. Command n - The command line to execute for the file checker, including all
  1061.     command-line switches. Place the variable @FILE@ where the filespec is to
  1062.     be placed on the command line. This cannot be a batch file, nor is DOS
  1063.     re-direction allowed. Any kind of file checker may be used, such as a virus
  1064.     checker or a BBS ads checker, if desired; they will be executed in the
  1065.     order defined in this screen. If you do not explicitly define the path to
  1066.     your file checking program(s), it must in a directory included in the DOS
  1067.     PATH environment variable. Note that if you are running a network, the use
  1068.     of network-specific scanners may be necessary (e.g. McAfee's SCAN and
  1069.     NETSCAN).
  1070. Successful errorlevel - The errorlevel that the file checker returns upon a
  1071.     successful execution. This information should be available in the program's
  1072.     documentation. This is how ULP determines if the file checker detected a
  1073.     defect, so any file checker configured must return errorlevels that are
  1074.     different for success than errors.
  1075.  
  1076. After editing the fields, press F10 to keep the edits, or press ESC to abort
  1077. the changes.
  1078.  
  1079. G - DUPLICATE CHECKING
  1080. ──────────────────────
  1081. When selected, the following pop-up box will appear. By using the up and down
  1082. arrow keys, you can move the cursor to the desired field to be edited.
  1083.  
  1084.     ┌────────────────────────────────────────────────────────────────────────┐
  1085.     │  Duplication checking  (None/Internal/Zdcs)  I                         │
  1086.     │  Total duplication limit  (%)                55                        │
  1087.     │  Executable dupe limit  (%)                  80                        │
  1088.     │  Database buffer size  (Small/Medium/Large)  80                        │
  1089.     │  Duplication database        C:\ULP\DATABASE.DB                        │
  1090.     │  Duplication database index  C:\ULP\DATABASE.IDX                       │
  1091.     │  ZDCS subdirectory                                                     │
  1092.     └────────────────────────────────────────────── [F10] Keep  [ESC] Abort ─┘
  1093.  
  1094. Duplication checking - If you want ULP to use its internal CRC-32 duplication
  1095.     checking, type "I". If you want to use the ZDCS external duplication system
  1096.     by Mike Cocke (with the required ZCDSULP interface program), enter "Z". If
  1097.     you desire no duplication checking at all, type "N".
  1098. Total duplication limit - The minimum percentage of duplication allowed for a
  1099.     file to pass. Anything SMALLER will pass regardless of the executable
  1100.     duplication limit. I would suggest this number be set to around 55, as some
  1101.     program authors don't modify every file, especially with maintenance
  1102.     releases. This limit is implemented for both ULP's internal and ZDCS
  1103.     duplication systems.
  1104. Executable dupe limit - The maximum percentage of duplication allowed for
  1105.     executable files and overlays to pass. This number should be higher than
  1106.     the total duplication limit; I would recommend about 80. This will catch
  1107.     archives that are duplicates, but someone has changed enough files to
  1108.     normally pass it when uploaded (such as configs, high score files, etc.).
  1109.     This will also pass files where the author has changed nothing but the
  1110.     executables; they would have failed before. Executables are determined
  1111.     solely by extension; any file with one of the following extensions will be
  1112.     counted as an executable: EXE, COM, SYS, OVL, OVR, DLL. This limit is also
  1113.     implemented for both ULP's internal and ZDCS duplication systems.
  1114. Database Buffer Size - Three buffer sizes are available for optimum database
  1115.     speed and memory usage. The sizes are 2.5K, 5K and 10K for the small,
  1116.     medium and large buffers, respectively. Enter "S" for a small, "M" for a
  1117.     medium or "L" for a large database buffer. For small databases (less than
  1118.     1 meg in size) or severe memory conditions, select the small buffer. For
  1119.     databases over 3 megs, the large buffer should prove slightly faster than
  1120.     the medium size, although the difference won't be as noticeable. This
  1121.     buffer is used for ULP's internal duplication system only; no buffer is
  1122.     allocated for ZDCS usage.
  1123. Duplication database - The path and name for the duplication database file.
  1124.     It's a good idea to keep the database and index file together, just to make
  1125.     things easier. This file is used for ULP's internal duplication system
  1126.     only.
  1127. Duplication database index - The path and name for the duplication database
  1128.     file index. This file is also used for ULP's internal duplication system
  1129.     only.
  1130. ZDCS subdirectory - The complete path for your ZDCS files (used only for the
  1131.     ZDCS duplication system). You must include the trailing backslash and drive
  1132.     letter; ULPSM will add it if necessary.
  1133.  
  1134. After editing the fields, press F10 to keep the edits, or press ESC to abort
  1135. the changes.
  1136.  
  1137. H - AGE CHECKING
  1138. ────────────────
  1139. When selected, the following pop-up box will appear. By using the up and down
  1140. arrow keys, you can move the cursor to the desired field to be edited.
  1141.  
  1142.     ┌──────────────────────────────────────────┐
  1143.     │  Age checking  (None/Average/neWest)  A  │
  1144.     │  Minimum age  (months)  48               │
  1145.     └──────────────── [F10] Keep  [ESC] Abort ─┘
  1146.  
  1147. Age checking - If you want ULP to fail an archive based on the average age of
  1148.     the files contained within, enter "A". If you want rejection based upon the
  1149.     age of the newest file, enter "W". Otherwise, if you don't want age
  1150.     checking, enter "N".
  1151. Minimum average age - The maximum average age in months, that you will accept
  1152.     for an upload.
  1153.  
  1154. After editing the fields, press F10 to keep the edits, or press ESC to abort
  1155. the changes.
  1156.  
  1157. I - BBS AD PROCESSING
  1158. ─────────────────────
  1159. When selected, the following pop-up box will appear. By using the up and down
  1160. arrow keys, you can move the cursor to the desired field to be edited.
  1161.  
  1162.     ┌─────────────────────────────────────────────────────────────┐
  1163.     │  Remove BBS ads  (Yes/No)   Y                               │
  1164.     │  BBS ad detection database  C:\ULP\ULPADS.DB                │
  1165.     │  BBS ad file to insert                                      │
  1166.     └─────────────────────────────────── [F10] Keep  [ESC] Abort ─┘
  1167.  
  1168. Remove BBS ads - If you want ULP to remove known BBS ads from new uploads
  1169.     during processing, type "Y"; if not, type "N". Only ULP.EXE and ULPTEST
  1170.     SLOW mode removes BBS ads; ULPTEST FAST and NORMAL modes do not, but the
  1171.     upload will have any BBS ads removed later in the event.
  1172. BBS ad detection database - The path and name for the BBS ads database. This
  1173.     database can be updated by the sysop by using the ULPADS utility (see
  1174.     section 11 of this document), freeing the sysop from being reliant on me to
  1175.     maintain the ads database. If you find a large number of new BBS ad files,
  1176.     please upload them to my board for inclusion into my master ads database.
  1177. BBS ad file to insert - The path and filename for your BBS ad to be added to
  1178.     each and every archive processed by ULP. If you do not wish to insert a BBS
  1179.     ad, leave the field blank. Note that you must provide a drive and path, or
  1180.     it will not be copied. I STRONGLY recommend against them; BBS ads are
  1181.     aggravating to other sysops, so please be considerate and use the ARJ or
  1182.     ZIP comment instead. BBS ad files are the scourge of the BBS world.
  1183.  
  1184. After editing the fields, press F10 to keep the edits, or press ESC to abort
  1185. the changes.
  1186.  
  1187. J - GIF FILE CHECKING
  1188. ─────────────────────
  1189. When selected, the following pop-up box will appear. By using the up and down
  1190. arrow keys, you can move the cursor to the desired field to be edited.
  1191.  
  1192. * NOTE: If you desire no GIF file testing by ULP, set all minimum image
  1193.         parameters (width, height and colors) to 0 and blank out the GIF file
  1194.         tester command line.
  1195.  
  1196.     ┌─────────────────────────────────────────────────────────────────────────┐
  1197.     │  Minimum image width  (columns)  320                                    │
  1198.     │  Minimum image height  (rows)    200                                    │
  1199.     │  Minimum number of colors        16                                     │
  1200.     │  Keep GIFLITE'd files  (Yes/No)  N                                      │
  1201.     │  Command  giftest /b:0 /l:c:\ulp\giftest.log @FILE@                     │
  1202.     │  Successful errorlevel  0                                               │
  1203.     └─────────────────────────────────────────────── [F10] Keep  [ESC] Abort ─┘
  1204.  
  1205. Minimum image width - If ULP is to reject GIF files based upon image width,
  1206.     enter the minimum acceptable width in pixels. If no width limit is desired,
  1207.     set it to zero.
  1208. Minimum image height - If ULP is to reject GIF files based upon image height,
  1209.     enter the minimum acceptable height in pixels. If no height limit is
  1210.     desired, set it to zero.
  1211. Minimum number of colors - If ULP is to reject GIF files based upon the number
  1212.     of colors in the image, enter the minimum acceptable number of colors. If
  1213.     no color limit is desired, set it to zero.
  1214. Keep GIFLITE'd files - If ULP is to keep uploaded GIF files if they have been
  1215.     compressed with GIFLITE, set this to "Y". If not, set it to "N". At this
  1216.     time, if you use GIFTEST, this parameter will have no effect; GIFLITE'd
  1217.     files will always be rejected. Accepting GIFLITE'd GIF files can compromise
  1218.     the duplication system due to its variable compression ratio! I strongly
  1219.     suggest you do not accept GIFLITE'd GIF files!
  1220. Command - The command line to execute for the GIF file checker, including all
  1221.     command-line switches. Place the variable @FILE@ where the filespec is to
  1222.     be placed on the command line. This cannot be a batch file, nor is DOS
  1223.     re-direction allowed.
  1224. Successful errorlevel - The errorlevel that the GIF file checker returns upon a
  1225.     successful execution. This information should be available in the program's
  1226.     documentation. This is how ULP determines if the GIF file checker detected
  1227.     a defect in the GIF file, so the GIF file checker configured must return
  1228.     errorlevels that are different for success than errors.
  1229.  
  1230. After editing the fields, press F10 to keep the edits, or press ESC to abort
  1231. the changes.
  1232.  
  1233. K - DESCRIPTION PROCESSING
  1234. ──────────────────────────
  1235. When selected, the following pop-up box will appear. By using the up and down
  1236. arrow keys, you can move the cursor to the desired field to be edited.
  1237.  
  1238.     ┌─────────────────────────────────────────────────────────────────────────┐
  1239.     │  Strip lost descriptions  (Yes/No)             N                        │
  1240.     │  Smart word wrap descriptions  (Yes/No)        Y                        │
  1241.     │  Strip high ASCII from descriptions  (Yes/No)  N                        │
  1242.     │  Insert internal description files  (Yes/No)   Y                        │
  1243.     │  Maximum number of description lines           10                       │
  1244.     │  Number of columns to indent secondary lines   32                       │
  1245.     │  Insert error description line  (Yes/No)       Y                        │
  1246.     │  Insert lack of description line  (Yes/No)     Y                        │
  1247.     │  Archive information line format                                        │
  1248.     │  (Files: @#@ Newest: @NEW@ Oldest: @OLD@)                               │
  1249.     │  GIF information line format                                            │
  1250.     │  (Resolution: @WID@x@HGT@x@COLOR@  Comp: @COMP@)                        │
  1251.     └─────────────────────────────────────────────── [F10] Keep  [ESC] Abort ─┘
  1252.  
  1253. Strip lost descriptions - If you want ULP to remove "lost" descriptions from
  1254.     the source listing that do not have a corresponding file in the source
  1255.     subdirectory, enter "Y", otherwise, type "N". This is an excellent tool for
  1256.     cleaning up stray descriptions after files have been deleted for some
  1257.     reason.
  1258. Smart word wrap descriptions - If you want ULP to word-wrap descriptions, enter
  1259.     "Y", otherwise, type "N". Due to it's smart word-wrapping, ULP checks for
  1260.     box-draw characters before word-wrapping.
  1261. Strip high ASCII from descriptions - If you want ULP to strip high ASCII and
  1262.     control characters from archive descriptions prior to insertion, enter "Y",
  1263.     otherwise, enter "N". When turned on, ULP will strip all illegal characters
  1264.     (per the FILE_ID.DIZ specification) from descriptions prior to insertion,
  1265.     leaving the text description intact.
  1266. Insert internal description files - ULP can extract and insert FILE_ID.DIZ and
  1267.     DESC.SDI internal description files into the directory list files. If you
  1268.     want ULP to insert internal description files, type "Y"; if not, type "N".
  1269.     Note that ULP gives priority to FILE_ID.DIZ in the event the same archive
  1270.     contains both a FILE_ID.DIZ and a DESC.SDI file.
  1271. Maximum number of description lines - When ULP is to insert internal
  1272.     description files, this is the maximum number of lines that ULP will insert
  1273.     from the description file. Although up to 60 lines can be inserted, Clark
  1274.     Development Company (the developer of PCBoard and FILE_ID.DIZ) has defined
  1275.     that a FILE_ID.DIZ file should have no more than 10 lines.
  1276. Number of columns to indent secondary lines - The column where the '|' marker
  1277.     goes in your directory listing setup for secondary description lines and
  1278.     information lines added by ULP. The standard PCBoard setup indents to
  1279.     column 32.
  1280. Insert error description line - If you want ULPTEST to add a canned line to the
  1281.     description of failed archives describing the failure, enter "Y",
  1282.     otherwise, type "N". Note that ULP.EXE will not add this line, nor will it
  1283.     strip this error line if the file is processed in override mode.
  1284. Insert lack of description line - If you want ULP.EXE to insert a canned "No
  1285.     description available" line for the description of any file that does not
  1286.     have any description associated with it, set this to "Y". If you wish for
  1287.     the file to remain in the source area without a description of any kind,
  1288.     set to "N".
  1289. Archive information line format - The format that you would like for the
  1290.     archive information line (do not include the '|' character or the following
  1291.     space; ULP will add those). If you do not wish to include an archive
  1292.     information line, blank this field out. This format is completely
  1293.     configurable by the user; any ASCII character can be used. To include
  1294.     specific information compiled by ULP, just add the variables. The legal
  1295.     variables must be in all caps, and are as follows:
  1296.         @#@     Number of files in the archive (and nested archives)
  1297.         @NEW@   Date of the newest file in the archive
  1298.         @OLD@   Date of the oldest file in the archive
  1299.         @BYTE@  The total number of bytes (uncompressed) in the archive
  1300.         @DATE@  Today's date
  1301.         @CR@    Inserts a line break for multiline capability
  1302. GIF information line format - The format that you would like for the GIF
  1303.     information line (again, do not include the '|' character or the space). If
  1304.     you do not wish to include a GIF information line, blank this field out.
  1305.     The legal variables are:
  1306.         @WID@    Horizontal resolution (number of columns)
  1307.         @HGT@    Vertical resolution (number of rows)
  1308.         @COLOR@  Number of colors in GIF
  1309.         @COMP@   Inserts "GIFLITE" or "None", depending upon compression
  1310.         @DATE@   Today's date
  1311.         @CR@     Inserts a line break for multiline capability
  1312.  
  1313. After editing the fields, press F10 to keep the edits, or press ESC to abort
  1314. the changes.
  1315.  
  1316. L - ONLINE TESTING
  1317. ──────────────────
  1318. When selected, the following pop-up box will appear. By using the up and down
  1319. arrow keys, you can move the cursor to the desired field to be edited.
  1320.  
  1321.     ┌──────────────────────────────────────────────────────┐
  1322.     │  Default online test mode  (Fast/Normal/Slow)  S     │
  1323.     │  Maximum file size for slow mode  (K)          250   │
  1324.     │  Maximum file size for normal mode  (K)        500   │
  1325.     │  Generate online user status  (Yes/No)         N     │
  1326.     │  Suppress ULP header in serial I/O  (Yes/No)   N     │
  1327.     └──────────────────────────── [F10] Keep  [ESC] Abort ─┘
  1328.  
  1329. Default online test mode - This defines the default mode that ULPTEST processes
  1330.     an archive. The default mode is the mode that ULPTEST *starts* in, and then
  1331.     is forced into the faster mode(s) by the limits defined.
  1332.     SLOW mode fully processes the archive, identical to the ULP event
  1333.         processing except that the archive formats are not converted. Note that
  1334.         archive conversion is not possible in SLOW mode due to limitations of
  1335.         PCBoard and the file will not be reprocessed by ULP.EXE in the event.
  1336.         Also note that you MUST make all uploads public for SLOW mode to work
  1337.         properly. This mode is intended to emulate the operation of other
  1338.         testers like EXZTest and Ziplab. Enter "S" to use this mode.
  1339.     NORMAL mode is a full *test*, except the archive is not repacked, saving a
  1340.         significant amount of the testing time for the online user. Enter "N"
  1341.         to use this mode of operation.
  1342.     FAST indicates a fast test in which the archive is scanned for archive
  1343.         integrity, duplicates, and age without unpacking the archive (ARJ and
  1344.         ZIP files only). If this mode is used, it should be held for later
  1345.         reprocessing by ULP.EXE so that it can be file-checked. Note that FAST
  1346.         mode can only 'see' one level deep in the archive. If you have a slow
  1347.         computer and/or hard disk, FAST mode would be preferable for your users
  1348.         when large archives are uploaded. Enter "F" to utilize this mode.
  1349. Maximum file size for slow mode - If SLOW mode is used, the archive's file size
  1350.     will first be compared against this limit (in kilobytes). If it is larger
  1351.     than this number of bytes (in kilobytes), it will be forced into NORMAL
  1352.     mode to speed the process and prevent wasting the user's online time.
  1353.     Entering 0 will disable this feature, resulting in SLOW mode being used at
  1354.     all times. If the default online test mode is set to NORMAL or FAST, this
  1355.     parameter has no effect.
  1356. Maximum file size for normal mode - If NORMAL mode is used (or has been forced
  1357.     due to an upload exceeding the slow mode size limit), the archive's file
  1358.     size will be compared against this limit (in kilobytes). If it is larger
  1359.     than this number of kilobytes, it will be forced into FAST mode to speed
  1360.     the process and prevent wasting the user's online time. Entering 0 will
  1361.     disable this feature, resulting in NORMAL mode being used at all times. If
  1362.     the default test mode is set to FAST, this parameter has no effect.
  1363. Generate online user status - If you want ULPTEST to output status information
  1364.     to the user on-line, set this flag to "Y"; if you do not want ULPTEST to
  1365.     output status information, enter "N". ULPTEST supports both direct
  1366.     interrupt-driven I/O (IRQs 2-7) and FOSSIL driver I/O.
  1367. Suppress ULP header in serial I/O - If you want ULPTEST to suppress the program
  1368.     header output to the user via the COM port (the program name, copyright
  1369.     notice, and registration information). This gives a seamless look for ULP
  1370.     into PCBoard. If this is desired, set this flag to "Y"; otherwise, set it
  1371.     to "N". This feature will work for registered users only!
  1372.  
  1373. After editing the fields, press F10 to keep the edits, or press ESC to abort
  1374. the changes.
  1375.  
  1376. M - SPECIAL-CASE FILES
  1377. ──────────────────────
  1378. When selected, the following pop-up box will appear. By using the up and down
  1379. arrow keys, you can move the cursor to the desired field to be edited.
  1380.  
  1381.     ┌────────────────────────────────────────────────────┐
  1382.     │  Uncompressed extensions to process and compress   │
  1383.     │  DOC  TXT  COM                                     │
  1384.     │                                                    │
  1385.     │  Extensions to pass without processing             │
  1386.     │  CPT  SIT                                          │
  1387.     └────────────────────────── [F10] Keep  [ESC] Abort ─┘
  1388.  
  1389. Uncompressed extensions to process and compress - ULP can process selected
  1390.     uncompressed uploads, using this option. Up to 10 uncompressed file types
  1391.     can be specified by extension. Do not use any compression format extensions
  1392.     (ARJ, ZIP, etc.)! Any files that are uploaded with one of these extensions
  1393.     and could not be identified by signature will be file-checked,
  1394.     duplicate-checked, and compressed using your default archiving method (in
  1395.     the event). If you do not want to use this feature, simply blank all of the
  1396.     fields. It probably is not a good idea to have EXE as an extension to
  1397.     compress, since ULP is not able to detect ARC, HYP or ZOO self-extractors,
  1398.     and they would be packed again as an uncompressed archive.
  1399. Extensions to pass without processing - ULP can be forced to NOT process
  1400.     selected uploads, using this option. Up to 10 file types can be specified
  1401.     by extension. THESE FILES WILL BE AUTOMATICALLY PASSED WITHOUT ANY TESTING;
  1402.     be sure this is desired. This is intended for use with non-DOS uploads,
  1403.     such as the Unix Tar Z format, or Macintosh files. Since these files will
  1404.     NOT be tested for viruses, etc., note this fact to your users.
  1405.  
  1406. After editing the fields, press F10 to keep the edits, or press ESC to abort
  1407. the changes.
  1408.  
  1409. N - INIT PROCESS DATA FILE
  1410. ──────────────────────────
  1411. When selected, the following pop-up box will appear. By using the up and down
  1412. arrow keys, you can move the cursor to the desired field to be edited.
  1413.  
  1414.     ┌─────────────────────────────────────────────────────┐
  1415.     │  Process data file  C:\ULP\PROCESS.DAT              │
  1416.     │  Initialize process data file  N                    │
  1417.     └───────────────────────────── [F10] Go  [ESC] Abort ─┘
  1418.  
  1419. Process data file - The path and filename of the ULP process data file. This
  1420.     file contains information on previous ULP archive processing and is
  1421.     maintained automatically by ULP. This file must exist, or ULP will not
  1422.     operate.
  1423. Initialize process data file - If you want ULPSM to initialize the process data
  1424.     file when the F10 key (Go) is pressed, enter "Y", otherwise leave it as
  1425.     "N". Note that the process data file can also be initialized using ULP.EXE
  1426.     with the -I command line switch.
  1427.  
  1428. After editing the fields, press F10 to initialize the process data file and
  1429. keep the edits, or press ESC to abort the changes.
  1430.  
  1431.  
  1432. ┌────────────────────────┐
  1433. │  10. Manual Operation  │
  1434. └────────────────────────┘
  1435.  
  1436. While the ULP system is mostly automatic, there are occasions where some
  1437. operations may have to be done manually:
  1438.  
  1439. ULP:
  1440. ────
  1441. During the course of operation, ULP will rename archives that have been found
  1442. to be defective in some manner according to the following convention:
  1443.  
  1444.     .UNK    Unknown archive format
  1445.     .DOS    DOS reserved keyword found in archive
  1446.     .ERR    Error occurred while unpacking archive (archive integrity failure)
  1447.     .CHK    Error found while file checking archive file (virus, etc.)
  1448.     .DUP    Excessive duplicate files contained in archive
  1449.     .PCK    Error occurred while repacking archive file
  1450.     .AGE    Age limit exceeded by archive file
  1451.     .ENC    Encrypted file found in archive
  1452.     .BAD    Error found while testing GIF file
  1453.     .RES    Unacceptable GIF resolution
  1454.     .GLT    GIF compressed with GIFLITE
  1455.     .WRK    Unable to create work space for processing file
  1456.  
  1457. I would enter these extensions in your UPSEC file, as ULP will automatically
  1458. pass over any file with these extensions, presuming that they are defective
  1459. archives. Doing so will prevent a user from uploading a file with one of these
  1460. "reserved" extensions.
  1461.  
  1462. If you feel that these files are acceptable after reviewing them, you can force
  1463. them to be accepted by adding the command-line switch -O (for override) to the
  1464. ULP command line, e.g.:
  1465.  
  1466.     ULP -CULP.CFG -O
  1467.  
  1468. This will accept the archives regardless of duplication or age limits. It will
  1469. not override unpacking, packing, integrity and virus errors, however, for the
  1470. safety of your board and your users.
  1471.  
  1472. To initialize the ULP process database without using ULPSM, use the -I command
  1473. line switch:
  1474.  
  1475.     ULP -CULP.CFG -I
  1476.  
  1477. ULP will scan your source upload directories as configured and generate a
  1478. process data file. From then on, ULP will maintain this data file
  1479. automatically.
  1480.  
  1481. Three other command-line parameters are available in ULP. '-R' will retest all
  1482. archives found in the subdirectory passed to it. It will not use duplication
  1483. checking or age checking, nor will it repack the archive; it was installed to
  1484. allow the periodic retesting of archives for viruses, etc.:
  1485.  
  1486.     ULP -CULP.CFG -Rc:\temp\
  1487.  
  1488. Another, '-M' will retest and convert all archives found in the subdirectory
  1489. indicated; this can be used for mass archive conversion:
  1490.  
  1491.     ULP -CULP.CFG -Mc:\temp\
  1492.  
  1493. Note that the '-R' and '-M' switches cannot be used on a CD-ROM or other
  1494. write-protected media at this time.
  1495.  
  1496. ULPTEST:
  1497. ────────
  1498. If you wish to run ULPTEST without any drop files for comm port configuration
  1499. (e.g. PCBOARD.DAT, PCBOARD.SYS, etc.), add the '-L' command-line switch to
  1500. force comm I/O off and prevent the search for drop files. For example:
  1501.  
  1502.     ULPTEST -CULP.CFG -F%1 -M%2 -D%3 -N%PCBNODE% -L
  1503.  
  1504. * NOTE:  When ULPTEST is run in local mode, it is not possible to support
  1505.     privileged users, since the user's name can only be extracted from
  1506.     PCBOARD.SYS.
  1507.  
  1508. You should also pass the node number with the -N parameter, as ULPTEST does not
  1509. have access to the drop files where this information is available. Otherwise,
  1510. it will default to a node number of 9999.
  1511.  
  1512. ULPDB:
  1513. ──────
  1514. If a file has been failed for some reason, you can view the contents of the
  1515. archive using the -V command switch with ULPDB. This will scan the archive, and
  1516. generate a report of the results, which are indicative of why it failed. For
  1517. example:
  1518.  
  1519.     ULPDB -CULP.CFG -Vc:\privul\archive.dup
  1520.  
  1521. This will produce a report of the archive ARCHIVE.DUP located in the specified
  1522. path. This can be useful in determining if an archive that failed duplication
  1523. should be removed or should be accepted anyway, and similar reasons.
  1524.  
  1525. In addition, duplication databases can be merged using the -M command-line
  1526. option. In order to merge a second database into your main database:
  1527.  
  1528.     ULPDB -CULP.CFG -Msecond.db
  1529.  
  1530. where 'second.db' is the full path and filename for the second duplication
  1531. database to be merged with the main CRC-32 database.  This will allow pre-built
  1532. databases to be constructed for CD-ROM disks for easy implementation.
  1533.  
  1534. Finally, database entries can be purged from the database using the file date
  1535. contained in the database record using the -P command switch:
  1536.  
  1537.     ULPDB -CULP.CFG -P60
  1538.  
  1539. where '60' is the maximum age (in months) for a file to remain in the database.
  1540. Removal is based upon the file date represented by the entry, NOT the date the
  1541. file entry was made into the database; these are not one and the same. In the
  1542. example above, all records for files older than 60 months (5 years) will be
  1543. removed from the database. As a protective measure, ULPDB will not perform a
  1544. purge if the value specified is less than 6 months.
  1545.  
  1546.  
  1547. ┌──────────────────────────┐
  1548. │  11. BBS Ads and ULPADS  │
  1549. └──────────────────────────┘
  1550.  
  1551. The ULP system includes a BBS ad removal feature based on CRC-32 calculation of
  1552. the file contents and other data. In this fashion, ULP can detect a known ad
  1553. file despite the file name and date.
  1554.  
  1555. In order for sysops to be able to 'keep up' with new ads produced by the weenie
  1556. sysops who insert the @!&*#%$ things, I have included a utility called ULPADS
  1557. that can scan a BBS ad file, and update the BBS ads with it's information.
  1558. Don't worry about duplication, as part of the process is to purge duplicate BBS
  1559. ad info. The command-line syntax for the ULPADS.EXE program is simply:
  1560.  
  1561.     ULPADS -Ddatabase.ad -Fbbs.ad
  1562.  
  1563. where 'database.ad' is the full path and filename for the BBS ads database, and
  1564. 'bbs.ad' is the path and filename for the BBS ad file to be added to the ads
  1565. database.
  1566.  
  1567. If you have a subdirectory full of BBS ads, the following batch file provided
  1568. by Ian Singer may be of help:
  1569.  
  1570.     rem DELADS.BAT
  1571.     rem this batch file written by Ian Singer 1 Jul 92 to take all
  1572.     rem the bbs ads in c:\ulp\ad and run them against the database
  1573.     rem in c:\ulp
  1574.     rem
  1575.     for %%f in (c:\ulp\ad\*.*) do ULPADS -Dc:\ulp\ulpads.db -F%%f
  1576.  
  1577. I would greatly appreciate your uploading of any new BBS ad files that you may
  1578. collect over time to my BBS so I can update the master listing that I include
  1579. with the ULP distribution archive. Please refer to the top of this document for
  1580. my BBS number.
  1581.  
  1582. The latest version of my BBS ads database is included in the distribution
  1583. archive. In order to add whatever new BBS ads information that may be
  1584. contained, you can merge the two BBS databases:
  1585.  
  1586.     ULPADS -Dmaster.db -Mother.db
  1587.  
  1588. where 'master.db' is the full path and filename for the master (your) BBS ads
  1589. database, and 'other.db' is the path and filename for the other BBS ads
  1590. datatbase to be merged with the master ads database.
  1591.  
  1592.  
  1593. ┌───────────────┐
  1594. │  12. Support  │
  1595. └───────────────┘
  1596.  
  1597. If you require support for ULP, I can be contacted by any of the following
  1598. means:
  1599.  
  1600.     ∙ Fidonet netmail (node:  1:151/106)
  1601.     ∙ Internet private mail to "stacy.smith@f106.n151.z1.fidonet.org"
  1602.     ∙ Intelec PCBoard conference
  1603.     ∙ The Support conference on my BBS (listed at the top of this document),
  1604.       which is linked to the Salt Air (PCBoard home system) ULP Support and
  1605.       Central Core (ZDCDS home system) ULP Support conferences, as well as the
  1606.       Intelec Network and CompuLink Network ULP Support conferences.
  1607.  
  1608.  
  1609. ┌─────────────────────────┐
  1610. │  13. The Future of ULP  │
  1611. └─────────────────────────┘
  1612.  
  1613. ULP will be supported as long as I'm in the BBSing business (which will be
  1614. quite a while...once it's in your blood, you can never shake it <grin>). The
  1615. ULP system will be rapidly expanding it's features so it will be your first
  1616. choice in BBS upload processors. Some current plans:
  1617.  
  1618.       ∙ Add the ability to preprocess files prior to file checking them;
  1619.         for example, decompress executables that have been PKLite'd.
  1620.       ∙ Support other BBS software directory listing formats.
  1621.  
  1622. If you have any other suggestions, or want other archivers supported, please
  1623. contact me via Email, U.S. snail-mail or on my BBS at the number at the top of
  1624. this document.
  1625.  
  1626. Thanks for giving ULP a try!
  1627.  
  1628.  
  1629. ┌────────────────────────────────┐
  1630. │  Appendix A:  DOS Errorlevels  │
  1631. └────────────────────────────────┘
  1632.  
  1633. The errorlevels returned to DOS by the ULP system programs are consistent
  1634. among all of the programs (primarily with the error conditions); the following
  1635. is a list of the errorlevels than can be returned by the ULP programs, along
  1636. with which programs return the codes:
  1637.  
  1638.     0       Successful execution (ULPTEST, ULPDB, ULPADS)
  1639.     0       Successful execution, archives were processed (ULP)
  1640.     1       Successful execution, nothing to do (ULP)
  1641.     1       Unknown archive format (ULPTEST)
  1642.     2       DOS reserved keyword found in archive (ULPTEST)
  1643.     3       Error unpacking archive (archive integrity) (ULPTEST)
  1644.     4       Error file checking archive files (virus, etc.) (ULPTEST)
  1645.     5       Error duplicate checking archive files (ULPTEST)
  1646.     7       Age limit exceeded by archive files (ULPTEST)
  1647.     8       Encrypted file found in archive files (ULPTEST)
  1648.     9       Bad GIF file (ULPTEST)
  1649.     10      Unacceptable GIF resolution (ULPTEST)
  1650.     11      GIF compressed with GIFLITE (ULPTEST)
  1651.     12      Unable to create work space (ULPTEST)
  1652.     99      Help screen (executing a program with no or an insufficient number
  1653.             of arguments) (All)
  1654.     100     Could not close all open files (ULP, ULPTEST, ULPDB)
  1655.     101     Unknown command line parameter (All)
  1656.     102     Config file not found (All)
  1657.     103     Invalid configuration file format; use UPDATE.EXE to update (ULP,
  1658.             ULPTEST, ULPDB)
  1659.     104     Excessive number of command line parameters defined for
  1660.             file checker (maximum number of parameters is 13) (ULP, ULPTEST)
  1661.     105     Excessive number of command line parameters defined for archiver
  1662.             (max is 13) (ULP, ULPTEST, ULPDB)
  1663.     106     Excessive number of words defined in archive information line (max
  1664.             is 13) (ULP, ULPTEST)
  1665.     107     No primary archiver defined (ULP)
  1666.     108     Invalid disk buffer size (All)
  1667.     109     Upload directory list file(s) not found (ULP, ULPTEST)
  1668.     110     Unable to allocate heap memory (All)
  1669.     111     Unable to open or lock disk logging file (ULP, ULPTEST, ULPDB)
  1670.     112     Invalid registration code or attempting to run 286 or 386 versions
  1671.             without registering (ULP, ULPTEST, ULPDB)
  1672.     113     Unable to open/lock CRC database file(s) (ULP, ULPTEST, ULPDB)
  1673.     114     Unable to open BBS ads database file (ULP, ULPADS)
  1674.     115     Invalid filename provided by user on command-line (ULP, ULPTEST)
  1675.     116     Invalid path provided by user on command-line (ULP, ULPDB)
  1676.     117     Invalid or no node number (valid values are 1 to 256) (ULPTEST)
  1677.     118     CRC database usage not enabled (configuration file parameter
  1678.             DUPE_CHK is set to 'no') (ULPDB)
  1679.     120     Invalid or old database format (All)
  1680.     121     Unable to process com port/invalid port parameter (ULPTEST)
  1681.     122     Unable to access PCBOARD.SYS (ULPTEST)
  1682.     123     CRC database failed validation test (ULPDB)
  1683.     124     ZDCS/ULP interface program failure (ULPTEST)
  1684.     125     Unable to open privileged user list file (ULPTEST)
  1685.     126     Unable to determine comm port information (ULPTEST)
  1686.     200     Undefined error (internal to ULP system program(s))
  1687.  
  1688.  
  1689. ┌────────────────────────────────┐
  1690. │  Appendix B:  Acknowlegements  │
  1691. └────────────────────────────────┘
  1692.  
  1693. The problem of automatically recognizing duplicate files on large bulletin
  1694. board systems, independent of filename, was originally solved by Dr. Frederick
  1695. W. Kantor (founder of Information Mechanics and author of FWKCS(TM)
  1696. Contents_Signature System), who came up with the elegant solution of using both
  1697. the 32_bit CRC and the uncompressed file length together to make a
  1698. "contents_signature" for each file. Dr. Kantor's experimental data has shown a
  1699. typical pairwise error rate of less than one part in ten trillion using this
  1700. technology.
  1701.  
  1702.  
  1703. ┌─────────────────────────────────────┐
  1704. │  Appendix C:  Command Line Summary  │
  1705. └─────────────────────────────────────┘
  1706.  
  1707. ULP.EXE command-line syntax:
  1708.  
  1709.     ULP -Cd:\path\config.ext [-I] [-O] [-Rd:\path\] [-Md:\path\]
  1710.  
  1711.     -C  complete path and filename of the configuration file.
  1712.     -I  initialize the process data file. (Optional)
  1713.     -O  processes all archives, regardless of duplication or age limits,
  1714.         including previously processed archives with errors. (Optional)
  1715.     -R  retests all archives found in the directory specified for the
  1716.         purpose of re-checking archives for viruses, etc.. (Optional)
  1717.     -M  performs a mass conversion of all archives found in the directory
  1718.         specified to your default archive format. (Optional)
  1719.  
  1720. ULPTEST.EXE command-line syntax:
  1721.  
  1722.     ULPTEST -Cd:\path\cfg.ext -Fd:\path\archive.ext -Mmode [-Dd:\path\desc.ext]
  1723.         [-Pd:\path\] [-N#] [-L] [-B#] [-I#] [-Annn] [-Hmethod] [-X#] [-Gmode]
  1724.  
  1725.     -C  complete path and filename of the configuration file.
  1726.     -F  complete path and filename of the archive file to be tested.
  1727.     -M  processing mode [Upload/Test/Attach].
  1728.     -D  complete path and filename of the upload description file. (Optional)
  1729.     -P  complete path to the BBS starting directory. (Optional)
  1730.     -N  BBS node number executing ULPTEST. (Optional)
  1731.     -L  force local mode without comm I/O. (Optional)
  1732.     -B  COM port computer to modem (DTE) baud rate. (Optional)
  1733.     -I  COM port interrupt number. (Optional)
  1734.     -A  COM port base address (in hex). (Optional)
  1735.     -H  COM port handshaking method [Hardware/Software/Both]. (Optional)
  1736.     -X  FOSSIL port number. (Optional)
  1737.     -G  ANSI graphics toggle [Yes/No]. (Optional)
  1738.  
  1739. ULPDB.EXE command-line syntax:
  1740.  
  1741.     ULPDB -Cd:\path\config.ext [-Ad:\path\] [-U] [-Md:\path\database.ext]
  1742.         [-Id:\path\foreign.ext] [-S] [-P#] [-Vd:\path\archive.ext]
  1743.  
  1744.     -C  complete path and filename of the configuration file.
  1745.     -A  adds files located in the directory specified to the database
  1746.         file. List files supported by prefixing with a @ or !. (Optional)
  1747.     -U  forces unpacking of all archives when adding files. (Optional)
  1748.     -M  complete path and filename of a second database file to be merged
  1749.         with the master database file. (Optional)
  1750.     -I  complete path and filename of the foreign format database file to
  1751.         be imported into the master database file. (Optional)
  1752.     -S  compiles, sorts and indexes the database. (Optional)
  1753.     -P  age in months for purging database entries. (Optional)
  1754.     -V  complete path and filename of the archive to be viewed. (Optional)
  1755.  
  1756. ULPSM.EXE command-line syntax:
  1757.  
  1758.     ULPSM -Cd:\path\config.cfg [-Q]
  1759.  
  1760.     -C  complete path and filename of the configuration file.
  1761.     -Q  quiets beep when an error is detected. (Optional)
  1762.  
  1763. ULPADS.EXE command-line syntax:
  1764.  
  1765.     ULPADS -Dd:\path\database.ext [-Fd:\path\bbs.ad] [-Md:\path\database.ext]
  1766.  
  1767.     -D  complete path and filename of the master BBS ads database file.
  1768.     -F  complete path and filename of the ad file to be added to the BBS
  1769.         ads database. (Optional)
  1770.     -M  complete path and filename of a second BBS ad database to be merged
  1771.         with the master ads database. (Optional)
  1772.