Subj : Don't want to screw up! To : Angus Mcleod From : Digital Man Date : Sun Jan 02 2005 07:29 pm Re: Don't want to screw up! By: Angus Mcleod to Digital Man on Sun Jan 02 2005 09:05 pm > Re: Don't want to screw up! > By: Digital Man to Angus Mcleod on Sun Jan 02 2005 14:32:00 > > > > Perhaps I should just copy the ctrl/msgs.cnf file as well as subs/* an > > > VERT.ptr? I'd really prefer not to lose the old messages, if it's > > > practical to save them. I've got nearly 130,000 of them going back a > > > old ways. > > > > Yeah, that'll work. Or you could manually fix the ptridx values for each > > (taking care not to duplicate any other sub's ptridx value), but that'd b > > pain. > > Ok, I'll copy my ctrl/msgs.cnf file, the subs/* files, and VERT.ptr then > I'll run fixsmb as you suggested. I'll still be watching for an > extra-large outbound REP file though. In fact, I an considering > > sprintf rep "%%j%s.rep" hubid > > # check that size is acceptable > int LIMIT_REPSIZE MAX_REPSIZE repsize > set LIMIT_REPSIZE 1 > set MAX_REPSIZE 20480 > get_file_length repsize rep > compare LIMIT_REPSIZE 1 > if_true > compare repsize MAX_REPSIZE > if_greater > lprintf "QNET-FTP: %s size %d exceeds %d!" rep repsize MAX_REPSIZE > lprintf "QNET-FTP: Aborting... No transfer." > goto exit > end_if > end_if > > as a mod for qnet-ftp.src/bin. If it works, send me a copy. :-) Another consideration (as a feature for future versions) is a limit on the "age" of imported messages from network nodes. This should also help eliminate dupes. digital man Snapple "Real Fact" #28: Chewing gum while peeling onions will prevent you from crying. .