ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD. |
07-15-2005, 05:35 AM
|
#1
|
Junior Member
FlashFXP Registered User ioFTPD Registered User
Join Date: Apr 2005
Posts: 16
|
User credits - ioFTPD v5.85
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)
|
|
|
07-15-2005, 05:56 AM
|
#2
|
Banned
ioFTPD Foundation User
Join Date: Jul 2005
Posts: 7
|
add the flag 3 to perms
Code:
[FTP_SITE_Permissions]
uinfo = 31GM
|
|
|
07-15-2005, 06:07 AM
|
#3
|
Junior Member
FlashFXP Registered User ioFTPD Registered User
Join Date: Apr 2005
Posts: 16
|
Many thanks - so easy (when you know how!)
|
|
|
07-15-2005, 12:11 PM
|
#4
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
That will allow them to view uinfo for any user, not just themselves.
|
|
|
07-15-2005, 12:24 PM
|
#5
|
Junior Member
FlashFXP Registered User ioFTPD Registered User
Join Date: Apr 2005
Posts: 16
|
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
|
|
|
07-16-2005, 11:55 PM
|
#6
|
Junior Member
Join Date: Dec 2003
Posts: 4
|
Quote:
Originally Posted by ADDiCT
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
|
|
|
07-17-2005, 03:21 AM
|
#7
|
Senior Member
ioFTPD Scripter
Join Date: Feb 2004
Posts: 181
|
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.
|
|
|
07-26-2005, 08:46 AM
|
#8
|
Junior Member
Join Date: Jul 2005
Posts: 9
|
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?
|
|
|
07-26-2005, 01:24 PM
|
#9
|
Too much time...
Ultimate Scripter
Join Date: Jul 2003
Posts: 1,430
|
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.
|
|
|
07-26-2005, 09:30 PM
|
#10
|
Junior Member
Join Date: Jul 2005
Posts: 9
|
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..) .
|
|
|
08-04-2005, 04:01 AM
|
#11
|
Senior Member
FlashFXP Registered User ioFTPD Foundation User
Join Date: Oct 2004
Posts: 107
|
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.
|
|
|
08-09-2005, 08:24 PM
|
#12
|
Moderator
Administrator
Join Date: Oct 2001
Location: New Mexico, USA
Posts: 1,070
|
Quote:
Originally Posted by PopWeasel
|
No scripts will be validated in the forum. Please use the customer portal to upload new scripts.
https://secure.inicom.net/portal/?la...n=ioscripts&s=
|
|
|
Thread Tools |
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:22 PM.
|