FREQ2DL ÿÿÿÿÿÿÿ by Robert Darling ½1992 ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ This program comes with no guarantee that it is bug free although it has been thoroughly tested on my own system. You may use it at your own risk and I accept no responsibility for any loss of data caused by its use. Any bug reports, suggestions, praise, or money should be sent to the address shown at the end of this text file. This program is put in the public domain and you may freely copy and distribute it, indeed you are encouraged to do so. However, the code is copyright therefore please do not alter it and then distribute it. This archive should contain the following files : FREQ2DL.PRG The actual program FREQ2DL.CTL An example control file FREQ2DL.TXT This text file If these files are not in the archive when you receive it please let me know by netmail, and also let me know where you received the file from. What is the purpose of this program. ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ The purpose of this program is to check your Binkley log file to see if any files have been FREQ'd and if so, providing the request was honoured, will add them to your QuickBBS download log in the same manner as is already used for downloaded files. This is useful to those SysOps who run a download total program to add the number of times a file has been downloaded to there filelists. Previously File Requests were not included, but not any more! If you don't run one of these programs but would like to then I can highly recommend DL_TOTAL by Mark Matts. Using the program. ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Before you can use this program you must create a control file. An example should be in this archive. It should contain the following keywords. Oldqbbs ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ If this command is included then the format of the line(s) added to the download log will be as in versions of QuickBBS previous to v1.08, i.e. a space seperates the file transfer method from the name of the downloader. I use FR to indicate the transfer method - it seemed appropriate! binkcfg ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ This command is required for the program to work. It looks in the Binkley.cfg file for the name of the filename sent in response to the request FILES. This is because the filename requested is checked against the actual file sent. Only the AVAIL statement is used as most SysOps only have the one ALLFILES file to send. The path and filename for your OKFILE text file is also obtained. It will use the highest priority file you have, so if you use a PROTREQLIST then this will be used. Generally all your MAGIC filenames will be kept in here. If this one is not found then the next highest statement will be used. If your binkley.cfg file is named as such then it is not strictly necessary for you to enter the name as this is the default name. If it is known as anything else then the filename MUST be stated. In all cases, the pathname must be stated for the program to work. A message will be displayed if you enter an incorrect line. Examples are : binkcfg d:\binkley binkcfg d:\qbbs\binkley\ binkcfg e:\bt\binkley2.cfg logname ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ A path must be shown to your Binkley log file. If not, then the requested files won't be found! Again, the name of the log file need only be added if it is known as anything other than Binkley.log. Examples are : logname d:\binkley logname d:\qbbs\binkley\ logname e:\bt\binklog.txt dllog ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ This command is required to let the program know where the download.log is, and its name if anything other than DOWNLOAD.LOG. Command is the same format as the examples shown above. And finally...... ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Well, it's up to you how you run the program. I have included it in my batch file so that it is run before Binkley is started up at the end of any exit errorlevel. This way any filenames will be added just after they have been FREQ'd. My download counter program is run every time a user logs off the BBS proper so new filenames will be accounted for. I also run it just before the BBS goes offline therefore the filelists are always up to date. Feedback is always welcome - don't be frightened to give me your views! The DLTOTAL file mentioned earlier in the text may be FREQ'd or downloaded from my BBS, filename : DLTOT12.LZH or obtained direct from the authors BBS, System ST BBS, on 0533 413443, between 10pm - 7am, at any of the following speeds... 300/1200/2400. Enjoy the program...... Robert - SysOp at : ~ FolkeSTone QBBS ~ (0303)245203 ~ 9pm - 8am ~ ~ FidoNet node 2:255/375 ~ NeST Hub 90:102/130 ~ ~ All modem speeds supported ~ My home address is : 11B Turketel Road, Folkestone, Kent. CT20 2PA. Feel free to write to me if you wish. Any donations most welcome!