ADDiCT's scripts sitewho.exe, ioGroups, ioGui, ioLimitTransfers, ioSecureAdduser |
11-02-2003, 01:55 PM
|
#1
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
sitewho.exe by ADDiCT
I got shared memory working in Visual Basic, using the new memory mapping technique and wanted to make something (useful?) with it...
I couldn't get it to crash, perhaps U can ?
This first version doesn't allow u to hide certain users, but that will be added by next version. As well as limiting output to uploaders/downloaders/idlers only.
Output completely customizable with templates.
Only use it on 5.2.11+ versions, older versions don't use memory mapping as interprocess communication technique.
|
|
|
09-13-2005, 11:08 AM
|
#2
|
Junior Member
Join Date: Aug 2005
Posts: 24
|
i have add these to ioftpd.ini:
[Scripts]
who = EXEC ..\scripts\sitewho.exe template=2 all
xwho = EXEC ..\scripts\sitewho.exe show_hidden_users
but i diddn´t have the [Scripts] in my ini, so i put it on the bottom
i always get Command not understood
i also override the default 'site swho' command and here it works
any ideas?
|
|
|
09-13-2005, 11:16 AM
|
#3
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
the old [Scripts] section got renamed to [ftp_custom_commands] a few io versions back
putting it at the bottom will only place it in the last ini subsection, [Http_Permissions]
|
|
|
09-13-2005, 02:26 PM
|
#4
|
Junior Member
Join Date: Aug 2005
Posts: 24
|
ahhhhhhh
thx a lot :-)))
|
|
|
09-25-2005, 02:53 AM
|
#5
|
Junior Member
Join Date: Jun 2003
Posts: 18
|
i have 2 instances of ioftpd running, is there a way to force sitewho.exe to get the bw/uploaders/leechers info from 1 site and not the other?
|
|
|
09-25-2005, 02:58 AM
|
#6
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
My suggestion would be to run each instance in a separate user environment, for example: one as LocalSystem service, the other in the Administrator desktop (or as Administrator service). When using sitewho for the bot, you would need 2 bots in this example, each one started through io to make sure they are in the same environment as the ioFTPD about which they need to show information.
|
|
|
09-25-2005, 01:30 PM
|
#7
|
Senior Member
Ultimate Scripter
Join Date: Jul 2005
Posts: 153
|
Quote:
Originally Posted by ADDiCT
My suggestion would be to run each instance in a separate user environment, for example: one as LocalSystem service, the other in the Administrator desktop (or as Administrator service). When using sitewho for the bot, you would need 2 bots in this example, each one started through io to make sure they are in the same environment as the ioFTPD about which they need to show information.
|
i'll go ahead and repeat this post here:
Quote:
Originally Posted by _panic_
there is an undocumented name/value pair in the [Threads] section of ioftpd.ini. it is called WindowName, and defaults to "ioFTPD::MessageWindow". you can change this in one of your running ioftpd configurations, which will take care of the problem from ioftpd's side. you'll also of course, need to fix sitewho.exe to look for another window name. not sure how to do this part.
|
can sitewho be made to behave the same way? i.e. look in the ioftpd.ini file for this resource name and use it if it exists? that might be a simpler way of fixing this problem.
|
|
|
09-25-2005, 01:38 PM
|
#8
|
Junior Member
Join Date: Jun 2003
Posts: 18
|
site1 has eggdrop. site2 doesn't need eggdrop.
is there a way to tell sitewho.exe to look for another window name?
i just did the "WindowName = ioFTPD::MessageWindow" on site2. so at least they don't get confused wit each other. but when you do site xwho both sites reply who info from site1.
|
|
|
09-25-2005, 01:59 PM
|
#9
|
Senior Member
Ultimate Scripter
Join Date: Jul 2005
Posts: 153
|
Quote:
Originally Posted by Chico
site1 has eggdrop. site2 doesn't need eggdrop.
is there a way to tell sitewho.exe to look for another window name?
i just did the "WindowName = ioFTPD::MessageWindow" on site2. so at least they don't get confused wit each other. but when you do site xwho both sites reply who info from site1.
|
just to be clear, "ioFTPD::MessageWindow" is the default value for the message window. you'll need to change it to something else (anything else), if and when you can also change sitewho.
|
|
|
09-27-2005, 08:50 PM
|
#11
|
Senior Member
Ultimate Scripter
Join Date: Jul 2005
Posts: 153
|
Quote:
Originally Posted by ADDiCT
|
sweet! thanks for the quick turnaround.
|
|
|
09-30-2005, 06:15 AM
|
#12
|
Junior Member
FlashFXP Registered User
Join Date: Jul 2004
Posts: 12
|
sometimes after running the site who command the SiteWho.exe for no reason uses 50% CPU...
|
|
|
11-01-2005, 09:10 AM
|
#13
|
ioFTPD Professional License
ioFTPD Foundation User
Join Date: Oct 2005
Posts: 32
|
error
hello.
first of all thx for the nice script.
I do all the steps by the readme.nfo, and updated steps that i found on this topic, like
Quote:
Originally Posted by ADDiCT
stupid mistake of me
who = EXEC ..\scripts\sitewho.exe template=2 override_site_who
-->
site = EXEC ..\scripts\sitewho.exe template=2 override_site_who
|
and
Quote:
Originally Posted by ADDiCT
the old [Scripts] section got renamed to [ftp_custom_commands] a few io versions back
putting it at the bottom will only place it in the last ini subsection, [Http_Permissions]
|
So
site swho works fine, BUT when i try use site who or site xwho i got this errors:
[R] site who
[R] 200-ERROR: unknown command: "override_site_who"
[R] 200 Command successful.
[R] site xwho
[R] 500 SITE xwho: Command not understood.
Any idea how can i fix it ??
Thx a lot
|
|
|
11-01-2005, 04:09 PM
|
#14
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
site swho is working, so i assume u already have these lines in your ioFTPD.ini file:
Quote:
[FTP_Pre-Command_Events]
site = EXEC ..\scripts\sitewho.exe template=2 show_hidden_users override_site_swho
[Ftp-SITE-Permissions]
swho = 1M
|
Now, that's only for overriding the internal SWHO command, if u want extra site commands like WHO and XWHO, you also need these lines in ioFTPD.ini :
Quote:
[FTP_Custom_Commands]
who = EXEC ..\scripts\sitewho.exe template=2 all
xwho = EXEC ..\scripts\sitewho.exe show_hidden_users
[Ftp-SITE-Permissions]
xwho = 1M
|
|
|
|
11-02-2005, 12:58 AM
|
#15
|
ioFTPD Professional License
ioFTPD Foundation User
Join Date: Oct 2005
Posts: 32
|
ADDiCT
man, many thx. Now it's all working as i expected.
|
|
|
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 11:00 PM.
|