PDA

View Full Version : ioTrayIcon


dasOp
01-30-2004, 05:54 PM
Yes, I got bored enough to do one.
Also, if anyone has any ideas on what more to do with this, lemme know.

Limitations: None. As of ioFTPD 5.8.*, I can cleanly shut ioFTPD down..

Quirk: A doubleclick on the icon will execute the default menu action, which is to kill io if io is running, and start io if it isnt. So don't be too triggerhappy. :)

Useful: ioFTPD 5.8.* lacks the crashguard (good riddance, imo). However, for those that need it, ioTrayIcon has a keepalive option.

Usage? Start it, right click on tray icon and think a little.

- - - - - - -

Current version 0.6.1
Works with ioFTPD 5.8.* (and onwards?)

Old version 0.5.
Works with ioFTPD 5.6.* and before.

http://www.ioftpd.com/scripts/script.php?id=13

The0ne
01-30-2004, 08:50 PM
aha nicely done :p

dasOp
02-01-2004, 06:52 AM
34 downloads and no reply (well, one).
Did anyone not manage to get it working? Noone wanting to change anything?

Oh, it probably wont work on NT4.

Harm
02-01-2004, 07:17 AM
It works just fine :)

MaZza_Dj
02-01-2004, 09:01 AM
fantastiiiiiic very thanks is more cool this 8)))))))) and work very fine

:banana: :i'm not g

MaZza_Dj
02-02-2004, 06:53 PM
excuse me is possible one new version with the option when ioFTPD.exe crashed?
now the script tell me evertime UP but if the ioftpd.exe crash don't tell me and i have see that when the program is strated with ioTrayIcon crash more times...is possible this? or one option for automatic restart when the program crash...

dasOp
02-04-2004, 04:57 AM
Correct. In my TODO, together with making the tray icon survive an explorer crash. I think I know how to make it survive such a crash.

Your issue, on the other hand, is just a matter of having timed repeatable checks on io running.
What would be an acceptable timeslot on that? Checking every second would use an unnecessary amount of cpu. 5, 10, 15 seconds? Note that it is possible to start a crashed ioFTPD with ioTrayIcon, even though it indicates that ioFTPD is running.

darkone
02-04-2004, 04:23 PM
I could add WM_PING for you, if you think you need it ;p Sending window message using SendMessage() should accurate and easy way of testing wheter program is responding or not. Another solution is that, you could make your program a debugger for io. => wait until io throws exception/quits.

|ZOK|
02-05-2004, 09:04 AM
thx man, this is exactly what i was looking for :D
really great of u to take the time to make this li'l thing.
works like a charm.

Sersen
02-05-2004, 01:04 PM
maybe if possible let the icon change if for example are users logged in or something what i have on kerio personal firewall 2.1.5 which shows me that there is some kind of traffic with an arrow for upload and a arrow down for download...dunno if this works maybe a login must be provided for ioTray :)

anyway a nice suggestion..keep up your development on this sweet addon

bye

dasOp
02-05-2004, 01:19 PM
I've considered doing that as well.
However, the smart way of doing that would be to interface with io in a more direct way, via dll plugin. I'm getting there, slowly.

dasOp
02-10-2004, 08:01 AM
Ok, all requests done except the special upload/download icon.

hot_pit
02-10-2004, 10:15 AM
dasOp you should add an link to change paht of ioFTPD.exe ... its kinda boring changing it from registry :p

dasOp
02-10-2004, 01:30 PM
Ah, for multiple installs of io you mean?
If registry value isn't valid for some reason it'll ask you again.
So there should be no issue if you only have one installation.

MaistroX
02-10-2004, 03:41 PM
I just tryed to install it and it gave me an Error 2755 , what does that mean ?

dasOp
02-10-2004, 03:58 PM
Haven't the faintest idea. I suck at packaging msi's.
A theory is you run NT and dont have windows installer 2.0 installed. But that's just a guess.

Here's a .zip with the binary, just put it somewhere and start it.

hot_pit
02-12-2004, 02:11 PM
is it normal if you Exit ioTrayIcon with ioFTPD running ioTrayIcon dont closes ioFTPD running ?

dasOp
02-12-2004, 02:40 PM
That is current behaviour. I'm considering adding a small preferences dialog to set such things.

Any other things you'd like done diff?

dasOp
02-15-2004, 12:07 PM
fuka: Now there's option for starting/stopping ioFTPD when ioTrayIcon starts/stops.

Sersen
02-15-2004, 12:24 PM
can you maybe implent if ioTray starts to check if already an ioFTPD.exe is running,because if you installed io as a service and you start the tray icon it just creates a second process and doesn´t take care about the already started io ;) :D:D

thanks for this nice update

bye

dasOp
02-15-2004, 12:32 PM
ioTray *does* check for an already running ioFTPD.exe before starting one. And it checks for the HWND ioFTPD::MessageWindow so the name of the process shouldnt matter. I'll have to test using as a service to see what happens...

Mouton
02-15-2004, 02:07 PM
U can't interract with processes in another windows session...
running as a service or running as another user or running as the same user in another session (terminal server for example)...

dasOp
02-15-2004, 07:28 PM
Ah yes, running as a service would definitely make it be in another session. There are a couple of hacks I could use but they depend on me writing the service wrapper, something I am not prepared to do at this point. Not when whats out there is working ok.

dasOp
02-16-2004, 10:53 AM
Actually though, I can interact with the service. I can "net stop/start ioservice", or whatever the name is.
I'll keep you posted.

Sersen
02-16-2004, 02:58 PM
:banana:

dasOp
02-16-2004, 05:23 PM
Please tell me the exact *service* name of the service wrapper you're using for ioFTPD. You can find out that name by going to control panel->administrative tools->services. double click the service in the list and the first, often truncated, name is what I need.

Sersen
02-17-2004, 12:08 AM
using IOService 0.2 for my service.Settings are like this here:

servicename=IOFTPD-Service
servicedescription=Service for IOFTPD and Eggdrop

the servicekey is iosrv

bye

Doomblaster
02-25-2004, 01:23 PM
ioTrayIcon don't work at Win2003 Server. It does start ioFTPd, but when either selecting it to stop or exiting ioTrayIcon, ioFTPd is still running :rolleyes:

It seems like when ioFTPD is started, it starts 2 processes. For some reason ioTrayIcon kills one of the processes (childprocess ?), but it's restarted 2 sec after it's killed.

dasOp
02-25-2004, 01:39 PM
ioFTPD 5.7.x added something d1 calls a crashguard. It starts a small monitoringprocess that restarts ioFTPD if it crashes.
My way of shutting down ioFTPD is interpreted as a crash. :)

I haven't adjusted to that yet, I'll keep you posted.

Mouton
02-25-2004, 01:41 PM
just in case u didn't see dasOp... dark added WM_QUIT, and it works #1 :)

Doomblaster
02-25-2004, 01:47 PM
Great...but couldn't you kill the processtree. I mean, there is probably a syscall or something that you can use for that. If don't know what I mean, start taskmanager, rightclick a process and you can choose between "end process" and "end process tree".

darkone
02-25-2004, 02:04 PM
Latest io reacts to WM_QUIT. I'm sure dasop will add support for this, in no-time. :)

MaZza_Dj
02-25-2004, 05:09 PM
faaaanttttaaassstiiiiicccc this version men 8))))

coool job very thanks 8)))))))))))))))))))))))))))

dasOp
02-25-2004, 07:00 PM
Originally posted by darkone
Latest io reacts to WM_QUIT. I'm sure dasop will add support for this, in no-time. :)

Thanks for the no-time part there. ioTrayIcon 0.6 is out, supporting ioFTPD 5.8.* and possibly onwards. If it doesn't work, blame d1 for making me code when drunk.
Just kidding, report errors here please. :)

Btw, what's the status of the crashguard? I only have one ioftpd process running right now with 5.8.4.

Mouton
02-25-2004, 10:24 PM
Temporarely disabled until re-implemented by spawning a new process when needed only...

dasOp
02-26-2004, 05:58 AM
Which means I can enable the keepalive option again. Only to disable it for 5.9.* or something when crashguard comes back.
Oh well. :)

dasOp
02-26-2004, 10:19 AM
Okay, keepalive re-enabled in 0.6.1.

ko0ky_2
03-13-2004, 11:19 PM
thanks for the iotrayicon! works great on win2k3 SBS :)


ko0ky :p

dasOp
03-14-2004, 09:44 PM
Originally posted by ko0ky
thanks for the iotrayicon! works great on win2k3 SBS :)

Yup, it should. Compiled and tested on win2k so it should work without problems on xp and 2k3. I leave no guarantee for nt though.

jboy53
10-24-2004, 07:36 AM
I can not seem to disable ioFTPD with the tray icon.

Tray version 0.6.1 (although about says .4)

checked the path in the regestry and seems fine.

ioFTPD version - ioFTPD-beta5-8-5r.

Stop ioFTPD and changes the colour to grey but ioFTPD is still running.

Any Ideas?

Grendel
10-24-2004, 07:45 AM
...more than 1 ioFTPD.exe started ???

check TaskManager

jboy53
10-26-2004, 01:07 PM
nope only one.

clean install,. 1 process ioFTPD.exe listed in task mangler and pslist.

Grendel
10-26-2004, 02:52 PM
running ioFTPD as a service ?

jboy53
10-27-2004, 11:56 AM
no mate.

Plain out-of-the-box style with 3 addons.

ioA, ioZS and ioTrayIcon

no bot, no SSL/TLS just plain boring ;)

dasOp
11-11-2004, 08:39 PM
Originally posted by MaistroX
I just tryed to install it and it gave me an Error 2755 , what does that mean ?

Sounds like you used the .msi version. Or if you didnt, when does the error 2755 pop up?

fungraphic
12-06-2004, 09:46 AM
:)

work very fine

It is a fantastic tools!!!!!!!!!!!!!

:banana: