Hi Mike,
PK> Without actually doing this my thinking is that
PK> you could replace the
PK> DOWNLOAD command with a MEX script that captures the
PK> filenames requried, and counts them. When your limit is
PK> reached (say 5), set a spare user flag that is tested
MN> [...]
MN> It would be a little more involved than this. I'd
MN> have to write a script that can assign a file a point
MN> cost when it's uploaded, then have the downloading
MN> script refer to that and a user download record to see
MN> if the user has enough file points to download it.
MN> Hrm... It would be quite the project.
It may actually be easier than you think, I have just checked and the Maximus
user record holds 6 fields relating to file up/downloading, 2 for files/K
uploaded, 2 for files/K downloaded, and 2 for files/K downloaded today! All
these fields are accessible from within MEX so the DOWNLOAD command would
only need to check the "today" values before deciding what to do.
Regards...........pk.
--- Maximus/2 3.01
---------------
* Origin: Another Good Point About OS/2 (3:772/1.10)
|