View Full Version : User credits - ioFTPD v5.85
gorkypark
07-15-2005, 05:35 AM
Hi, sorry if this is in the wrong place, but I'm having a nightmare trying to work it out!
I want my site users to be able to check UINFO, I thought they could just SITE UINFO thereusename but it dosen't work through Flash, is there a script or something I need to implement to give them the ability?
(Sorry for such a bone question, I'm REALLY new to ioFTPD and am having to learn VERY quickly lol) :o
badaas
07-15-2005, 05:56 AM
add the flag 3 to perms
[FTP_SITE_Permissions]
uinfo = 31GM
gorkypark
07-15-2005, 06:07 AM
Many thanks - so easy (when you know how!)
ADDiCT
07-15-2005, 12:11 PM
That will allow them to view uinfo for any user, not just themselves.
gorkypark
07-15-2005, 12:24 PM
To be honest most of my users wouldn't even kow what UINFO was! But is there another (ie better way) to do it?
Thanks
bigbighd604
07-16-2005, 11:55 PM
That will allow them to view uinfo for any user, not just themselves.
I think this is not a good idea,if a user can only view the info himself,that will be comfortable :)
PopWeasel
07-17-2005, 03:21 AM
iojU might be a better solution for what you want.
http://www.inicom.net/forum/showthread.php?t=13236
I've attached it since most scripts are gone missing still. Included MS .NET .exe version as well as .tcl version.
zeroxia
07-26-2005, 08:46 AM
I have a question on the credits.
I want to limit a user 'list' to download any nontrivial files, but still want to let them download some little files such as the .nfo files. To do so, just give the user 'list' a little amount of credits, but it will be exhausted quickly if lots of clients logging in as list to view the .nfo files on my ftp site. So I want to set the credits for each session to, for example, 1024KB automatically.
Some FTP Server soft have this option built in. And ioFTPD may not have it. I'm fresh new to this ftp daemon soft, could anybody kind enough to tell me how to implement this funciton using some script utility?
This could be scripted but since it's a single account, an user could use another user's 1024 bytes. Handling all possible cases would be a real mess.
Talking about .nfo files, several scripts add a SITE NFO [file] command that allow the user to read the NFO file without using his credits. Adding support for other kinds of files shouldn't be too hard.
zeroxia
07-26-2005, 09:30 PM
Thanks for the suggestion.
The 'site blah' resolution is not ideal since the users logging in to my ftp could know nothing about those ftp raw commands... Further more, there may be unknown types of files to let 'list' download.
I suggest ioFTPD should add this "session-specific credits" machanism, just record a session credits data for each separate login, if the credits exhausted, the user need to relogin to refresh it, thus limiting this account only to browse some informative file (readme.txt, blah.nfo, etc..), and cannot download large ones (software packages, music, video clips, etc..) .
esmandil
08-04-2005, 04:01 AM
I am not sure if I understand what you need, but it shouldn't be difficult to make a script which sets user credits to 1mb if he/she has less than that... and you could run this script on login.
Linkster
08-09-2005, 08:24 PM
iojU might be a better solution for what you want.
http://www.inicom.net/forum/showthread.php?t=13236
I've attached it since most scripts are gone missing still. Included MS .NET .exe version as well as .tcl version.
No scripts will be validated in the forum. Please use the customer portal to upload new scripts.
https://secure.inicom.net/portal/?lang=en&action=ioscripts&s=
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.