home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PCBOARD / FDC_400.ZIP / FDC-400.DOC < prev    next >
Text File  |  1994-02-10  |  20KB  |  477 lines

  1.  
  2.                         ---------------------------
  3.                            FILE DOWNLOAD COUNTER
  4.                         ---------------------------
  5.                       
  6.                                Version 4.0
  7.  
  8.                             February 10, 1994
  9.  
  10.                                Written by:
  11.                            Brandon M. Bachman
  12.  
  13.                              Distributed By:
  14.  
  15.                             The Salt City BBS
  16.                       801-359-1820 (Intel V.42Bis)
  17.  
  18.                       PCRelay routable -> SALTCITY
  19.  
  20.  
  21.  
  22.              Copyright (c) 1990-94 by Brandon M. Bachman
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  --------------------
  29.    TABLE OF CONTENTS
  30.  --------------------------------------------------------------------------
  31.  
  32.            -----------
  33.              General
  34.            -----------
  35.            Overview ..................................... 1-1
  36.            Program Features ............................. 1-2
  37.            Registrered and Unregistered Versions ........ 1-3
  38.            Why Should I Register? ....................... 1-4
  39.            Disclaimer ................................... 1-5
  40.            License ...................................... 1-6
  41.            System Requirements .......................... 1-7
  42.            Files in the FDC Archive ..................... 1-8
  43.  
  44.            --------
  45.              How?
  46.            --------
  47.            How FDC Operates ............................. 2-1
  48.            Installation ................................. 2-2
  49.            A Configuration File ......................... 2-3
  50.            Starting New with FDC ........................ 2-4
  51.            Removing FDC Entries ......................... 2-5
  52.            Log File ..................................... 2-6
  53.            Word Wrapping ................................ 2-7
  54.            Formats For Recording Download Count ......... 2-8
  55.  
  56.            -----------------
  57.              Configuration
  58.            -----------------
  59.            The Configuration File ....................... 4-1
  60.            Sample Configuration File .................... 4-2
  61.  
  62.            --------
  63.              Why?
  64.            --------
  65.            Operational Details .......................... 5-1
  66.            Examples of Command Line Arguments ........... 5-2
  67.            Common Questions and Answers ................. 5-3
  68.  
  69.            ---------
  70.              What?
  71.            ---------
  72.            Technical Support ............................ 6-1
  73.  
  74.  
  75.  
  76. ------------
  77.   OVERVIEW                                                             1-1
  78. --------------------------------------------------------------------------
  79. FDC will edit the descriptions in PCBoard's DIR files with the number of
  80. times the file has been downloaded from your BBS.
  81.  
  82. FDC makes it easy for you and your users to see instantly which files are
  83. the most popular, and give you an idea of what software you should keep
  84. online or download and which programs are "dead wood" to be removed.
  85.  
  86.  
  87. PROGRAM FEATURES                                                       1-2
  88. --------------------------------------------------------------------------
  89. ■ Automatically finds new downloads since the last date FDC was run.
  90.  
  91. ■ Process any size DOWNLOAD.TXT files. (extremely large)
  92.  
  93. ■ Counts as many as 2 billion downloads of a single file.
  94.  
  95. ■ Auto word wraps the description lines to *any* column you would like
  96.   leaving the "Uploaded by:" line undisturbed with word wrapping.
  97.  
  98. ■ Log file to monitor the program, compatible with PCBoards log file.
  99.  
  100. ■ Designed to run in your nightly event.
  101.  
  102. ■ Popular with users and SysOps as a guide to good programs.
  103.  
  104.  
  105. ■ Creates a database of all files not found to retry on future runs,
  106.   therefore making the download count 100% accurate.
  107.  
  108. ■ Written in Borland C++ v4.0 for fast compact code.
  109.  
  110.  
  111.  
  112. REGISTERED AND UNREGISTERED VERSIONS                                   1-3
  113. --------------------------------------------------------------------------
  114. "File Download Counter" is not Public Domain or Free ware.  Unregistered
  115. versions are 21 day evaluation copies only, after which they should either
  116. be destroyed or a license agreement purchased.  Registration is only $15 so
  117. please register your copy today.  Read 'REGISTER.DOC' included with this
  118. archive for more information.
  119.  
  120.  
  121.  
  122. WHY SHOULD I REGISTER?                                                 1-4
  123. --------------------------------------------------------------------------
  124. ■ Unregistered versions only count up to 25 downloads in the DIR files
  125.   Registered versions will continue to count as high as 2 million.
  126.  
  127. ■ Free technical support via the Salt City BBS.
  128.  
  129. ■ Lifetime free updates of all future versions guaranteed.
  130.  
  131. ■ Help support future updates and development of FDC.
  132.  
  133. ■ Support the shareware concept.
  134.  
  135.  
  136.  
  137. DISCLAIMER                                                             1-5
  138. --------------------------------------------------------------------------
  139. The authors make no warranties or representation of any kind, expressed or
  140. implied, with respect to "File Download Counter", or its quality,
  141. reliability, or performance, or its merchantability or fitness for any
  142. purpose.  The user assumes the entire risk as to the quality, performance
  143. and reliability of the software and documentation.
  144.  
  145.  
  146.  
  147. LICENSE                                                                1-6
  148. --------------------------------------------------------------------------
  149. The "File Download Counter" ("The Software") is COPYRIGHT 1990-94 by
  150. Brandon M. Bachman, ALL RIGHTS RESERVED WORLDWIDE.
  151.  
  152. A license grants you a nonexclusive, nontransferable license to use
  153. "File Download Counter" software on a single central processing unit at any
  154. one time.
  155.  
  156. You may NOT engage in, nor permit third parties to engage in, any of the
  157. following :
  158.  
  159.         A)  Sell, rent, sub-license, lease, or grant other rights
  160.             of this software to others.
  161.  
  162.         B)  Attempt to disassemble, decompile, or reverse engineer
  163.             the software or the files it generates in any way.
  164.  
  165.         C)  Make alterations of any kind in the files of this
  166.             software, except as noted below.
  167.  
  168.         D)  Collect fees for distribution of the software.
  169.  
  170. The authors of the software grant you a license to use this software as
  171. long as you meet the above conditions.  Any violation of the above
  172. conditions will result in the termination of your license to use this
  173. software.  Upon termination of this license for any reason, you must
  174. stop using the software and destroy all copies of it in your possession
  175. immediately.
  176.  
  177. The author(s) of this software are not liable for damages suffered as a
  178. result of the improper use, proper use, or inability to use this
  179. software.  This type of disclaimer is prohibited by law in some states,
  180. and is therefore void in those states.
  181.  
  182.  
  183.  
  184. SYSTEM REQUIREMENTS                                                    1-7
  185. --------------------------------------------------------------------------
  186. To run "File Download Counter" you will need the following:
  187.  
  188. 1.  IBM PC/XT/AT, PS/2 or 100% compatible machine.
  189. 2.  Color or Monochrome Graphics adapter.
  190. 3.  MS-DOS 5.0 or higher.
  191. 4.  PCBoard BBS Software.
  192.  
  193.  
  194.  
  195. FILES IN THIS ARCHIVE                                                  1-8
  196. --------------------------------------------------------------------------
  197. "File Download Counter" is distributed as a archival file "FDC-XXX.ZIP"
  198. You must have PkZip v2.04g or later to extract the files listed below.
  199. PkZip v2.04g is Shareware and is available on many computer bulletin boards.
  200. Files in the archive include:
  201.  
  202.        FDC.EXE      -  The "File Download Counter" program.
  203.        SAMPLE.CFG   -  Sample configuration file.
  204.        FDC-400.DOC  -  This documentation file.
  205.        REGISTER.DOC -  Information on registering your copy.
  206.        README.DOC   -  Important information for new and old users.
  207.        COMMENTS.DOC -  List of comments from other users of FDC.
  208.  
  209. Sysops are free to distribute uregistered versions of FDC as a complete
  210. unaltered archive only.
  211.  
  212.  
  213.  
  214. HOW FDC OPERATES                                                       2-1
  215. --------------------------------------------------------------------------
  216. FDC will read the DOWNLOAD.TXT file created by PCBoard, and count all
  217. recently downloaded files since the last time File Download Counter was
  218. executed successfully.  It then searches your PCBoard DIR files for a match.
  219. Upon finding a match in your PCBoard DIR files FDC inserts the number of
  220. times the file has been downloaded with the file description in your PCBoard
  221. DIR file.
  222.  
  223. There are 3 styles of editing your PCBoard DIR files that FDC supports.
  224. They are outlined below with samples of each style.  You may choose the
  225. style you would like FDC to use by changing the STYLE= parameter in the
  226. configuration file.
  227.  
  228.  
  229. Sample of Style #1 and #2
  230. -------------------------
  231. FILENAME.ARC   35252  06-27-90  <23> This is the description of the file.
  232. FILE-TWO.ZIP  213445  06-23-88  <11> This is another description.
  233. NEXTFILE.ZIP  243536  06-21-90  <14> This one has been downloaded 14 times,
  234.                               | and the description is auto word-wrapped.
  235. FILEFOUR.LZH  246246  05-12-90  <13> File Four v3.3, description.  With
  236.                               | this entry word wrapped, the "Uploaded by:"
  237.                               | line is not disturbed.
  238.                               | Uploaded by: Brandon Bachman
  239.  
  240. The only difference between Style #1 & #2 is that Style #2 will
  241. truncate the first line of the description after it inserts <##>.
  242. Style #1 will word wrap long descriptions to the next line.
  243.  
  244.  
  245. Sample of Style #3
  246. ------------------
  247. FILENAME.ARC   35252  06-27-90  This is the description of the file.
  248.                               | Downloaded 23 times.
  249. FILE-TWO.ZIP  213445  06-23-88  This is another description.
  250.                               | Downloaded 12 times.
  251. NEXTFILE.ZIP  243536  06-21-90  This one has been downloaded 14 times,
  252.                               | and the description is auto word wrapped.
  253.                               | Downloaded 1234 times.
  254. FILEFOUR.LZH  246246  05-12-90  File Four v3.3, description.  With
  255.                               | this entry word wrapped, the "Uploaded by:"
  256.                               | Uploaded by: Brandon M. Bachman
  257.                               | Downloaded 233 times.
  258.  
  259. Style #3 inserts an additional line to each file description.  You can
  260. customize this line by editing the TEXT= option in the configuration
  261. file.
  262.  
  263.  
  264.  
  265. INSTALLATION                                                           2-2
  266. --------------------------------------------------------------------------
  267. To install "File Download Counter" you must have the PKZip program
  268. available, then create a sub-directory for "File Download Counter" on your
  269. hard disk.  Enter the sub-directory and un-Zip the files.  Here is an
  270. example of how you might do this:
  271.  
  272.  
  273.            E:                     (Go to E: drive)
  274.            CD\                    (Go to the root directory)
  275.            MD FDC                 (Create E:\FDC sub-directory)
  276.            CD FDC                 (Go into the E:\FDC sub-directory)
  277.            COPY A:\FDC-400.ZIP    (Copy the program from drive A:)
  278.            PKUNZIP FDC-400.ZIP    (UnZip the program into the directory)
  279.  
  280.  
  281.  
  282. CONFIGURATION FILE                                                     2-3
  283. --------------------------------------------------------------------------
  284. After you complete the installation you must then edit the FDC.CFG file
  285. included in this archive to your needs.  Read the  "Sample Configuration
  286. File" and "Operational Details" sections below for instructions.
  287.  
  288.  
  289.  
  290. STARTING THE DOWNLOAD COUNT                                            2-4
  291. --------------------------------------------------------------------------
  292. First time users should initialize FDC by making sure the LAST_RUN_DATE=
  293. configuration option is a date in history older than first download from
  294. your BBS.  In others if your BBS has been online for 10 years make sure
  295. the LAST_RUN_DATE is set back to at least 1984 the first time you run
  296. FDC.  This ensures that downloads prior to the current date are counted
  297. the first time.
  298.  
  299.  
  300.  
  301. STRIPPING FDC ENTRIES FROM PCBOARD DIR FILES                           2-5
  302. --------------------------------------------------------------------------
  303. If you would like to remove all entries made by FDC in your PCBoard DIR
  304. files you may do so by using the /STRIP command line argument.  At DOS
  305. this command would be "FDC /STRIP"  This is useful if you decide to switch
  306. from one style of editing your DIR files to another.
  307. (ie., STYLE=1 and you would like STYLE=3).
  308.  
  309. Note: Once you have STRIPed entries made by FDC from your PCBoard DIR
  310. files you will want to reset the LAST_RUN_DATE= in your configuration
  311. file to be a date earlier than the first download from your BBS.  See
  312. section 2-4 above for more information.
  313.  
  314.  
  315.  
  316. LOG FILE                                                               2-6
  317. --------------------------------------------------------------------------
  318. To create a log file of all FDC's activities use the argument LOG= in your
  319. configuration file.  This is the complete path and file name of the LOG file.
  320. The format of the LOG file is compatible with PCBoard CALLER log.  This way
  321. you can specify the LOG file as the CALLER log created by PCBoard.  Doing so
  322. will help cut down on many logs files clogging up your systems.
  323.  
  324.  
  325. WORD WRAPPING                                                          2-7
  326. --------------------------------------------------------------------------
  327. Word Wrapping only applies if you have STYLE=1 or STYLE=2 in your
  328. configuration file.  (Word Wrapping is not an option on STYLE=3).
  329.  
  330. FDC handles word wrapping in two ways.  If a file description requires
  331. word wrapping, FDC first searches for the "|" character in the secondary
  332. line of your file description, and when found will word wrap to the space
  333. following the "|" character.  However some sysops like to have all their
  334. secondary lines of the descriptions lined up on columns other than the
  335. default of the 32nd column by PCBoard.  You can change the default by
  336. using the argument CHAR=xx, where xx is the column or number of characters
  337. to word wrap to.
  338.  
  339. FDC will not edit the "Uploaded by:" line when word wrapping.
  340.  
  341.  
  342.  
  343. THREE FORMATS FOR RECORDING DOWNLOAD COUNT                             2-8
  344. --------------------------------------------------------------------------
  345. FDC supports three different formats for recording the number of times
  346. a file has been downloaded.  The first is the default which will put
  347. <##> in the first few characters of the first line of the files description
  348. in the DIR file.  The second will do the same as the first, however it will
  349. not word wrap but truncate all descriptions which exceed 79 characters.
  350. The third will insert a separate line at the end of the secondary lines of
  351. the description but before the "Uploaded by:"  This line will look like
  352. this:
  353.                    "| Downloaded 45 times."
  354.  
  355. If you perfer a differnet wording you may change the format to anyway
  356. you would like to editing the TEXT= parameter in the .CFG file.
  357.  
  358. By default FDC will insert this line starting at the 32nd column, however
  359. if you would like it to be inserted at another column simply use the
  360. CHAR=xx option specified section 2.9.
  361.  
  362. To implement one of the various format of recording the number of times
  363. downloaded use the STYLE=x option, where x is the number of the style you
  364. would like.
  365.  
  366. For samples of the 3 different styles please see section 2-1 above.
  367.  
  368.  
  369.  
  370. CONFIGURATION FILE                                                     4-1
  371. --------------------------------------------------------------------------
  372. FDC daily operations are determined by the way you setup the FDC.CFG file.
  373. The configuration file must be called 'FDC.CFG' and be in the directory
  374. from which you run FDC.EXE.  It is critical that you take care in setting
  375. up this file, instructions for doing so are found in the "Sample
  376. Configuration File" section below and the above sections.
  377.  
  378. If you wish to have mulitple configuration files you may use the /CFG=
  379. command line argument.  If you wanted to use the configuration file
  380. FDC-01.CFG you would execute FDC with the command line "FDC /CFG=FDC-01"
  381. FDC will automatically apend the .CFG, .P and .T to the file names for the
  382. configuration file and data files.
  383.  
  384.  
  385.  
  386. SAMPLE CONFIGURATION FILE                                              4-2
  387. --------------------------------------------------------------------------
  388. Please refer to the SAMPLE.CFG file for a sample confgiuration file.
  389.  
  390. You may use any standard ASCII text editor to edit the SAMPLE.CFG file
  391. found in this archive, or to create your own.
  392.  
  393. Change the data in the SAMPLE.CFG to your needs and then rename
  394. SAMPLE.CFG to FDC.CFG
  395.  
  396.  
  397.  
  398. OPERATIONAL DETAILS                                                    5-1
  399. --------------------------------------------------------------------------
  400. After you have your FDC.CFG edited to your needs then type "FDC" and watch
  401. the wiz-bangs fly!  FDC will let you know if your FDC.CFG file may have
  402. errors.
  403.  
  404. NOTE: If it is the first time you have run FDC see "Starting the Download
  405. Count" above (section 2-4) for more information.
  406.  
  407. To update your recent downloads every day, put FDC in your EVENT.SYS
  408. file.  FDC is designed to run in your nightly event.  If there is an error,
  409. FDC will sound a beep, record the error in the LOG= file, pause 10 seconds
  410. and then exit.
  411.  
  412.  
  413.  
  414. EXAMPLES OF COMMAND LINE ARGUMENTS TO RUN FDC, AND THE RESULTS         5-2
  415. --------------------------------------------------------------------------
  416.  
  417.     1.  FDC
  418.  
  419.         This runs FDC using settings in the FDC.CFG file.  This is
  420.         the most common way to run FDC.
  421.  
  422.  
  423.     3.    FDC /STRIP
  424.  
  425.     This will run FDC and have it strip out all entries in your DIR
  426.     files that FDC made.  This is useful if you need to start the
  427.     the count over for FDC.
  428.  
  429.     4.  FDC /CFG=FDC-02
  430.  
  431.         This will run FDC using the FDC-02.CFG, and FDC-02.T filenames
  432.         for the configuration file, and the data files respectfully.
  433.  
  434.  
  435.  
  436. COMMON QUESTIONS & ANSWERS                                             5-3
  437. --------------------------------------------------------------------------
  438. Q.  I am a new user with File Download Counter and I it is not counting
  439.     any downloads from the PCBoard DOWNLOAD.TXT file.
  440.  
  441. A.  Make sure when you first run FDC to set the LAST_RUN_DATE= in the
  442.     configuration file.  See secction 2-4 "Starting a New Count" above.
  443.  
  444. Q.  When I register FDC will I need to call your BBS to obtain future
  445.     registered updates, and will there be a fee for upgrading.
  446.  
  447. A.  FDC is self registering for all future versions, you can simply
  448.     download a copy from a distributor BBS.  There is and never will be
  449.     and additional fee for upgrading FDC even if prices do increase,
  450.     once you have are a registered user you may upgrade for free.
  451.  
  452.  
  453.  
  454. TECHNICAL SUPPORT                                                      6-1
  455. --------------------------------------------------------------------------
  456. The latest version of "File Download Counter" software and technical
  457. support are available from:
  458.  
  459.   The Salt City BBS                  Join the Support (1) Conference
  460.   801-359-1820 (Intel V.42Bis)       to download the newest versions, ask
  461.   PCRelay routable -> SALTCITY       questions, and offer suggestions.
  462.  
  463. Or write to:  Brandon M. Bachman
  464.               261 S. 800 E. #10
  465.               Salt Lake City, Utah 84102
  466.  
  467. For INSTANT access on the Salt City BBS type "ACCESS" at the MainBoard
  468. Command Prompt.  (it will not be on the menu)   Then when prompted
  469. type in the code "FDC".  Your security level will automatically be
  470. upgraded and you will also be registered for the Support (1) Conference.
  471.  
  472. Then, you can flag the newset version of FDC for download by typing "FDC"
  473. at the MainBoard Prompt.  Then type "D" to download the file.
  474.  
  475. Please leave all messages regarding FDC in only the Support (1) Conference.
  476.  
  477.