View Single Post
Old 03-12-2005, 05:40 PM  
SkullSplitter
Junior Member
 
Join Date: Mar 2005
Posts: 1
Default CountUp / CountDown Script ...

Hello,

Does anybody know how I can implement a TCL script or executable in ioftpd which allows me the increment a counter for a name (only one time for a user) and save this in a database.
The user should be able to specify this name by himeself, by a site command, e.g. like

site countup My.Name
site countdown My.name

In further processing this name should represent a directory. My script should deny the deletion of this directory if the counter is not 0.

How can I...
...access the resources and data of ioftpd?
...get my function called on each site command?
...hook directory deletion commands?
...access the user database?
...save in a database in ioftpd TCL?

I hope you could help.

Best Regards

skullsplitter
SkullSplitter is offline