CDUploader By John Veldthuis This program is freely redistributable but all files must be included with it in there unaltered form. That means no powerpacking the files then shoving them back into the archive. What does this program do? It works in the same vein as ImportFiles.BBS in that it will take a list of files and comments and upload them to a DLG BBS system. It will also take a list of Areas and upload to them with one command line This program will only run on WB2.0 or higher and uses ReadArgs to parse both the command line and file list The command line is as Follows "A=AREA/N,L=LIST/K,B=FILESBBS,F=FREE/S,V=UNVALIDATED/S,U=UPLOADER, P=PATH,S=SOFTLINKDIR,M=MOVE/S" Whats it all mean. Well 1 of 2 things must be present. This is either the Area to upload the files or a List file. The rest is up to you. A=Area/N ;Number as in Area. eg 100 or 9, Must be 1 or higher L=LIST/K ;Name of List file, explained later B=FILESBBS ;Name of Files.BBS file, see Files.BBS search path later F=FREE/S ;Mark files as Free on BBS V=UNVALIDATED/S ;Mark files as Unvalidated on BBS U=UPLOADER ;Uploader name, eg u="John Veldthuis" default is "CDUploader" P=PATH ;Alt path to the files, see later in doc S=SOFTLINKDIR ;Create SoftLink to Files, eg S="AM1:" M=MOVE/S ;Move actual files into the BBS File area. Files.BBS search path. The Files.BBS will be looked for in the Current Dir, The Path/Filename given by B=FILESBBS, DLG File Area Alt path (if any) and finally the DLGCONFig:misc/FilePaths.BBS file. If you do not give a Files.BBS name then the default Files.BBS will be used. P=PATH. If the actual files are somewhere else then using this will give CDUploader another path to search for the files. L=LIST. The format of this file is the same as the command line above but may have multiple lines. EG I want to upload 3 areas at once. The list file I would use is as follows. 90 FREE MOVE 91 92 U="John Veldthuis" MOVE It would then upload files to Area 90 marked as free and move the files into the Area. Upload files to Area 91 and Upload files to Area 92 with the uploader name as John Veldthuis and move the files into the area. The format of the Files.BBS file is the usual. eg FileName comment filename2 comment2 filename3 comment3 There is an extension into this in that if the line under the filename has a space or tab then it will be taken as a continuation of the comment. eg Filename1 This is the comment for file1 and this also belongs to it also this one FileName2 This is the next file FileName3 3rd file and its long comment SO far I have only tested on my system but it seems stable enough to release and see how it goes. Please let me know of any bugs and or suggestions you may have to extand this program. I can be contacted at johnv@tower.actrix.gen.nz on Usenet or 3:771/440 (Only for a short while now) and 3:775/440 (Maybe? We are changing nets) Or even 21 Ngatai Street Manaia, Taranaki New Zealand PS This is the first program that I have written that is not in Assembler or ARexx. If you can guess what language it is written in then I will give you a free copy of this program :-) Version History V.99 First public release V.991 Small bug, Uses lock to test for file but a NULL filename means lock the root directory. So added a Null filename.