home *** CD-ROM | disk | FTP | other *** search
- TRIM v4.0
- Short Text File
- Written by Michael MacDonald
- 06/26/92
-
- TRIM is a compiled Clipper PRG program. It is 'freeware'. No fee is
- expected for it's use. It's purpose is to search RoboComm's UPxx.DBF
- (the database that keeps track of files you have downloaded) and
- 'trim' out any filenames which don't actually exist in your
- configured download OR upload directories, OR that haven't been
- moved offline by Robocomm. If you have moved the file somewhere
- else, and haven't used Robocomm to do the moving, there's no way for
- TRIM to know that. So, what TRIM does is this: First it gets the
- names of your File Download and File Upload directories from
- ROBOCOMM.MEM. This is where all your config options are stored
- within Robocomm. Then it opens the database that stores your
- Download Files List. (UPxx.DBF) It then goes through this database,
- one record at a time and looks to see if the filename exists in your
- Download directory, and if not checks your Upload directory, and if
- it's in neither place it looks to see if the status has been set to
- 'Offline'. If none of these three things are true, it deletes the
- record in the database.
-
- Note that TRIM only marks the records as deleted. The database is
- not 'packed' or reindexed. You must have RoboComm do that for you.
- This way you may look at the records that TRIM has marked as deleted
- before actually losing them, if you wish.
-
- TRIM can reside anywhere, but you must be in the directory where you
- keep your RoboComm files when you invoke it. The source code has
- been included for any Clipper users that wish to play with it.
-
- Michael MacDonald
- 4273 148th Ave NE Apt E-104
- Bellevue, WA 98007
-