Go Back   FlashFXP Forums > > > >

WarC's scripts ioA, Warchive, ZR-Tools

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-01-2004, 07:09 PM   #1
prozak
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Apr 2004
Posts: 30
Default site search choice between from log or not

I am very impressed with the sitesearch function u created.

Do you have plans to make it possible to:

1. chose between searching from log or not through custom command
2. chose between searching through files or dirs through custom command (like site google on some gl sites)

so in example 1 you would have:

site searchlog *whaveter* (would search from log)

site search *whatever* (would search actual HDD)

example 2 would give:

site goole *whatever* (would search HDD for files)

site lgoogle *whatever* (would search log for files)

looks like it should be possible howver will prolly need a rewrite.

Thnx for a great script.
prozak is offline   Reply With Quote
Old 05-01-2004, 07:34 PM   #2
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

atm I dont think this will be added. Mainly due to lack of time. However I will write it down if I can get the time to do some more serious develop of ioA.
WarC is offline   Reply With Quote
Old 05-01-2004, 08:29 PM   #3
prozak
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Apr 2004
Posts: 30
Default :)

thanx for your quick reply.
prozak is offline   Reply With Quote
Old 05-02-2004, 03:39 PM   #4
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

You could use two instances of ioA. Configure one to use the search log and the other to search the regular way.

[FTP_Custom_Commands]
...
search = EXEC ..\scripts\ioA\ioA.exe search
searchlog = EXEC ..\scripts\ioAlog\ioA.exe search
...
Zer0Racer is offline   Reply With Quote
Old 05-02-2004, 09:12 PM   #5
prozak
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Apr 2004
Posts: 30
Default sweet

Heh, wast sure if it was possoble to call the script twice there.

THANX!

I'll try that
prozak is offline   Reply With Quote
Old 05-06-2004, 04:34 PM   #6
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

Thats cheating Zer0
but bending rules is always allowed
WarC is offline   Reply With Quote
Old 05-07-2004, 11:53 AM   #7
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

Saving you some work WarC
Zer0Racer is offline   Reply With Quote
Reply

Tags
files, log, search, searching, site

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 09:13 AM.

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