Go Back   FlashFXP Forums > > > >

ADDiCT's scripts sitewho.exe, ioGroups, ioGui, ioLimitTransfers, ioSecureAdduser

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 3.00 average. Display Modes
Old 11-26-2003, 11:39 AM   #46
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

ok
odd is offline   Reply With Quote
Old 11-29-2003, 04:18 PM   #47
Tradah
Junior Member
 
Join Date: Feb 2003
Posts: 15
Default :<

i always get this:

site xwho
200-+--------------------------------------------+
200-| There are no users online at the moment. |
200-+--------------------------------------------+
200 Command successful.

any idea ?
Tradah is offline   Reply With Quote
Old 11-29-2003, 05:06 PM   #48
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

Is there any users online except yourself(admin) when you run the command? If your the only one online check hide options
hide_flags =
hide_groups =
hide_users =
hide_services =
hide_paths =


If theres users online except yourself, I dont know whats wrong.
odd is offline   Reply With Quote
Old 11-29-2003, 05:14 PM   #49
Tradah
Junior Member
 
Join Date: Feb 2003
Posts: 15
Default :/

hidding settings are correct, and im not the only one connected that's why is strange :S
Tradah is offline   Reply With Quote
Old 11-29-2003, 08:34 PM   #50
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

Ive got some suggestion to new cookies. If you got time or think they should fit the script. Would be nice if there are more cookies comming, love em all

* sitename(display site name)
* users online(display number of users online)
* max users(display ftps max amount of users allowed to connect)
* clients host(optional to ips)
odd is offline   Reply With Quote
Old 11-29-2003, 10:11 PM   #51
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

* sitename(display site name)
--> no problem

* users online(display number of users online)
--> %(usercountall) available in onlineuser.foot.nfo ... need it in downloaders/uploaders/idlers as well ?

* max users(display ftps max amount of users allowed to connect)
--> i *could* read this from system.ini, but i guess it's not changed that often, so 'hardcoding' it in a template file should not be a problem. however, i'll consider this one.

* clients host(optional to ips)
--> 'problem' : ip2hostname is a blocking function, if there are users online without a hostname, the call can hang for several seconds
solutions: 1. not use it. 2. multithreading. in VB, that means writing an unstable program. i'd rather write a program that won't crash, with a little less functionality.
but: i WILL implement ip2hostname in ioGui (caching the hostnames will reduce the hanging problem to a single time).

(i'm drunk, so ignore anything i've written )
ADDiCT is offline   Reply With Quote
Old 12-01-2003, 01:59 PM   #52
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

updates in 1.0.12
- global cookie %(sitename)
- cookie for transfers: %(transfersize) : number of MB transferred on current file
- cookies for downloaders: %(filesize) + %(progress) : total filesize in MB + procent downloaded
- EDIT: forgot to mention: usercounter variables are now correct in all footer templates

in downloaders.* / uploaders.* / idlers.*
previous version: %(usercountall) showed only the selected users
this version: %(usercountall) shows all online users (that are not hidden), and %(usercountdn) shows downloaders, ...
ADDiCT is offline   Reply With Quote
Old 12-01-2003, 07:32 PM   #53
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

Weee thank u

Just a few things.

would be nice if the %(progress) and %(filesize) worked everywhere ie onlineuser.body.transfer. I know that it cant be added in uploads, but everywhere else would be cool
btw filesize that is setup in your default onlineusers.body.transfer doenst work in "SITE SWHO", the user that are downloading

200-| test2@ioftpd - down - 9kBps - DIR/file.r01 - MB
| %(user)@%(group) - %(status) - %(speed)kBps - %(pwd)%(filename) - %(filesize)MB


%(maxusers) doesnt seem to work anywhere. Or my ioftpd.ini is setup wrong.

Btw would it be possible with how many MB a user has uploaded? Dunno if its impossible or hard to do but if it would be possible and if you got the spear time over
odd is offline   Reply With Quote
Old 12-02-2003, 02:40 AM   #54
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default

Quote:
Originally posted by odd
would be nice if the %(progress) and %(filesize) worked everywhere ie onlineuser.body.transfer.
JEAH JEAH JEAH

anyway... thx a lot for this script ADDICT!!! :banana:
toki is offline   Reply With Quote
Old 12-02-2003, 03:39 AM   #55
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

Quote:
would be nice if the %(progress) and %(filesize) worked everywhere ie onlineuser.body.transfer.
i will split *.transfer.* cookies in *.upload.* and *.download.*
will be done in next version

Quote:
btw filesize that is setup in your default onlineusers.body.transfer doenst work in "SITE SWHO", the user that are downloading
will be fixed in next version

Quote:
%(maxusers) doesnt seem to work anywhere. Or my ioftpd.ini is setup wrong.
will be fixed in next version. it was supposed to be a sitewho.ini setting

Quote:
Btw would it be possible with how many MB a user has uploaded? Dunno if its impossible or hard to do but if it would be possible and if you got the spear time over
ioftpd doesn't keep that information, so i can't read it, nothing i can do about that

next version will be posted sometime today
ADDiCT is offline   Reply With Quote
Old 12-02-2003, 04:26 AM   #56
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

here we go

updates in 1.0.13
- transfer templates are now splitted into upload & download templates
- download cookies %(filesize) and %(progress) now working in all download templates
- %(maxusers) working in all templates
ADDiCT is offline   Reply With Quote
Old 12-02-2003, 09:15 AM   #57
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default

jeah great

small error:

in limited templates download:

| %(user)@%(group) - %(status) - %(speed)kBps - %(pwd)%(filename) - %(transfersize)/%(filesize)MB (%progress)

--> (%progress) hast to be %(progress)

but now i have 3 up 3 dn and 2 idle lines for every user with all important info AND fully configurable templates!!!

thx addict
toki is offline   Reply With Quote
Old 12-02-2003, 09:51 AM   #58
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

lol, seems like i just stopped typing or something, i was gonna write (%(progress)%) like in the other templates... ah well, will be fixed in next release
ADDiCT is offline   Reply With Quote
Old 12-04-2003, 11:57 AM   #59
Mr_X
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 142
Default

There an error in your site who: I'm using your site who instead of site who of io. I made a site who but just after, I made site swho that told me the last action i made was PWD. That's not right. I made SITE WHO as last action.
Code:
[My PC] -Status- Connected.
[My PC] 220 ioFTPD 5 server ready.
... (Cut)
[My PC] PWD
[My PC] 257 "/" is current directory.
[My PC] SITE who
[My PC] 200-,--------------------------------------------.
[My PC] 200-|  There are no users online at the moment.  |
[My PC] 200-`--------------------------------------------`
[My PC] 200 Command succesful.
[My PC] SITE swho
[My PC] 200-+-----------------------------------------------------------------------------+
[My PC] 200-|                                                                             |
[My PC] 200-| Admin0rz@Administrator - 127.0.0.1 - connected for 0h 0m 5s - idle for 0m 3s
[My PC] 200-| last action: "PWD" - path: /
[My PC] 200-|
[My PC] 200-|                                                                             |
[My PC] 200-+-------------+--------------------+----------------------+-------------------+
[My PC] 200-| Users: 1    | Upload:     0 kBps | Download:     0 kBps | Total:     0 kBps |
[My PC] 200-+-------------+--------------------+----------------------+-------------------+
[My PC] 200 Command successful.
[My PC] SITE swho
[My PC] 200-+-----------------------------------------------------------------------------+
[My PC] 200-|                                                                             |
[My PC] 200-| Admin0rz@Administrator - 127.0.0.1 - connected for 0h 0m 9s - idle for 0m 4s
[My PC] 200-| last action: "SITE swho" - path: /
[My PC] 200-|
[My PC] 200-|                                                                             |
[My PC] 200-+-------------+--------------------+----------------------+-------------------+
[My PC] 200-| Users: 1    | Upload:     0 kBps | Download:     0 kBps | Total:     0 kBps |
[My PC] 200-+-------------+--------------------+----------------------+-------------------+
[My PC] 200 Command successful.
Mr_X is offline   Reply With Quote
Old 12-04-2003, 12:28 PM   #60
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

I can confirm it.


LIST
150 Opening ASCII mode data connection for directory listing.
226 [PWD: / ]-[Section: Default]-[Credits: 2.9M]-[Ratio: Unlimited]-[Speed: 0.0kb/s]

site who
200-,--------------------------------------------.
200-| There are no users online at the moment. |
200-`--------------------------------------------`
200 Command succesful.

site swho
200-| ioFTPD@SiTEOP - 192.168.0.102 - connected for 0h 0m 9s - idle for 0m 7s
200-| last action: "LIST" - path: /
200 Command successful.


But it think its only site who that doesnt shows in the last action.
odd is offline   Reply With Quote
Reply

Tags
mapping, memory, output, technique, version

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:37 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)