Update EFILE.PRG Haarlem 24-06-90 ----------------- Reason : When a user online did not know the username where he has to send the file to, he typed in QUIT and then there was a possibility that an alert box was shown asking the sysop if some received files could be deleted. It should never come up with alert-boxes when a user is online. This BUG is fixed. EXTRA : It's possible now to pre-define to whom a file must go to. Example : EFILE SEND JOOP KOOPMAN means that you want to send a file to the user Joop Koopman. EFILE ONLINE JOOP KOOPMAN means that the private file a user uploads will go to Joop Koopman. The username must be in the userlog and offcourse must be of the same format like it is in the userlog : HANS VAN.VEEN Please replace the OLD version with this version. If you have allready installed EFILE this version does not need other parameters or files. Good luck until Jon has made simular option within Quick. ------------------------------------------------------------------------------- Haarlem 20-04-90 Update EFILE.PRG ---------------- NEW : The reason for an update was that Jon put in a nice option concerning the limit's. With the 'old' version the download limit's were taken in consideration when a user received a file from you. When the file was bigger than his maximimum download level he was not able to download the file. Jon made an extra option which allows us to switch off the limits. (option /f behind the path/filename). If a sysop sends a file to a user (EFILE.PRG SEND) the program works in a loop. You have to type QUIT to get out. Somethimes you want to send more files to different users, and with the 'old' version you have to start up every time. After typing 'quit' to exit the program, scanning will take place asking you if allready received files can be deleted. Also somethimes users want to send files to eachother. I have made this possible too. Now a user can send a file PRIVATE to another user listed in the userbase. This is how it must be installed : - Create a NEW subdirectory where users can put the files. - Offcourse make with the menu-editor a new option to jump to a menu. (Option 2) (as example I included EFILE_ON.MNU) - In this new menu make 3 menu options, First : Option 33 (autoexecutable) Upload file to NEW created subdirectory Second: Option 7 (autoexecutable) path to EFILE.PRG ONLINE (ex: c:\qbbs\efile.prg online) (the ONLINE is the extra parameter for efile.prg) Third : Option 3 (autoexecutable) Jump Back to previous menu - In EFILE.LOG type behind the FLAG statement the path to the new subdirectory. So the first line in EFILE.LOG is : FLAG D7 C:\QBBS\PRIVATE\ ( Watch the spaces and \ signs ) That's it ! This is how it works : ---------------------- First the user has to upload a file. If succesfull it will be written into the UPLOAD.LOG file. I check if the username is the same with the last line in UPLOAD.LOG. If NOT then the program aborts. If the username is the same, then the user will be ask to WHOM the file will have to go to. Usernames are checked for existance. If exists then I will write the filename and the username into EFILE.LOG and I set the FLAG defined in EFILE.LOG While outside of Quick, this program keeps an eye over the carrier. When carrier drops, I will abort the program and will return to Quick. Save and sound. I have inlcuded the MENU and a sample of EFILE.LOG Haarlem 21-03-90 Efile Option program. ------------------------- I think the time has come that ALL kind off utilities will come out on our QuickBBS-ST market. One example is this one. Quickly made, in a few evenings. Simple because Jon made quite powerfull commands in our .DOR files. I am using these command's. First of all, what does this small program do ? - Sysop can put a file(s) on HOLD for users on his system. Whenever a user is a 'member' (or call it 'in the users.bbs') the sysop can SEND him a file. - Whenever the user calls he will be able to download the file or files - Sysop can put for unlimited users file(s) on HOLD. You are allowed to put maximum of 50 files on HOLD for one particular user. - Wow .... How to install it ? (PLEASE READ CAREFULLY !) - Change TOP.MNU (by means of the menueditor) Insert a new line (menueditor asks for INSERT after which line ?) Type 0 (so this will be the first menu option in TOP) Type in the parameterfield *E EFILE Type in the optiontype field 7 Type in the key field Ctrl-A 1 (press and hold Control and then A remove fingers and then a 1 (one) An arrow-up sign appears, then press return) Set one FREE flag. (for example C7) ( a X sign is shown then) (Flag must be FREE, very important !!) Press escape to save this option - Again type a I for INSERT option Menuedit asks for 'After which entry ?' Type 1 (eventually this will be the second option in TOP) Type in the parameter field : EFILE Type in the option type field : 2 Type in the key field : Ctrl-A 1 (again autoexecutable option) Set SAME FLAG as the one before (Ex. C7 A -------- B -------- C ------X- D -------- (important must be a flag not used by any user !) Type Esc to save option Type Esc to save the editted TOP.MNU In brief : You have made 2 extra option's at the beginning of the TOP menu. The first one is executing EFILE.DOR when flag C7 is set The second one is jumping to a new menu called EFILE Both are autoexecutable, and will only work when user has Flag C7 set. If you have allready used flag C7 for another purpose, you can change it to another value (ex A1 or B7). If you decide to use flag B1 then change the first line in EFILE.LOG and line in CLEAR.DOR (a line called -> clrflag c7, change this c7 to a B1 ) And ofcourse the 2 options in the TOP.MNU (flag setting to B1) Now I explain how a sysop can put a file on HOLD. If you are in the commandline editor (PCOMMAND) then type EFILE SEND and the program will start with the commandline SEND and the program asks for the username. The program look's if the user exists and then you will see a file selector box, pick the file and klik on OK. That's all. Program works like this : The program set's FLAG C7 (definable in EFILE.LOG) of that user, so he will see the first two lines and executes EFILE.PRG and look for the file EFILE.LOG, and scans the file. EFILE.PRG then creates a menu called EFILE.MNU in the MENUS folder. EFILE.MNU contains depending on how much files are waiting for him auto- executable download options and a CLEAR.DOR option. That CLEAR.DOR option will be used to clear the C7 flag, so when he is comming back from menu EFILE he won't see the first two lines in TOP.MNU. No copying is been done, for users who do not have a file waiting do not nottice anything. User who receive the file get's the real filename. Transfer protocol can be selected by the user. Easy ! Files needed : EFILE.PRG -> Program EFILE.LOG -> Contains on HOLD filenames for users and flag CLEAR.DOR -> Clear's FLAG (command clrflag c7) EFILE.DOR -> Doorfile to start up EFILE.PRG I hope it is clear. Really it's very simple, but the explaining part is difficult. Questions/Tips send them to Joop Koopman Fidonet Address 2:281/202 ++31-(0)23-340077