Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > ioFTPD beta > Suggestions

Suggestions Got a new idea or addition which would benefit IOFTPD? Post it here!

Reply
 
Thread Tools Rate Thread
Old 12-05-2003, 02:34 PM   #1
Member
 
Join Date: Feb 2003
Posts: 60
Lightbulb Optimized SITE SEARCH function

I'm missing a faster sitesearch. I'm not sure if this is the job for a skript or does need some modification of ioFTPD. I noticed that SITE SEARCH on glFTPD is times faster than on ioFTPD and i'm wondering if this could be implemented for ioFTPD too?
wrycat_2 is offline   Reply With Quote
Old 12-05-2003, 03:03 PM   #2
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,234
Default

Afak, glftpd's site 'search' uses locate. (which is heavily optimized routine) I have no plans in implenting 'search' directly to ftpd core; just wait until someone writes a decent algorithm for the purpose (I'd imagine, that storing directory x times a day, into sql database would do the trick)
darkone is offline   Reply With Quote
Old 12-06-2003, 02:41 AM   #3
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
Default

ioBanana has a SITE DUPE command that searches in its current_dirs.log. :banana:
Harm is offline   Reply With Quote
Old 12-06-2003, 10:33 AM   #4
Member
 
Join Date: Feb 2003
Posts: 60
Default

@HARM

does SITE DUPE use all old dirs or only directories uploded with ioFTPD?
wrycat_2 is offline   Reply With Quote
Old 12-07-2003, 11:18 AM   #5
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 427
Default

If not using a file to store searchdata in I dont think you can be much faster on searches than ioA is. Dont think its slow either as is. Used it to search dirtrees with 1000+ folders and 10000+ files and it still doesnt take long.
WarC is offline   Reply With Quote
Old 12-07-2003, 11:50 AM   #6
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 705
Default

As I've said before... Configure it properly - don't make it go through unnecessarry subdirs (read: into every reldir). ioA search goes through my 15000+ dirs and gives me result in less than 1 second. That's on a regular IDE drive on crappy VIA controller. Who needs faster search than that?
Zer0Racer is offline   Reply With Quote
Old 12-08-2003, 02:55 AM   #7
Member
 
Join Date: Feb 2003
Posts: 60
Default

Quote:
Originally posted by Zer0Racer
As I've said before... Configure it properly - don't make it go through unnecessarry subdirs (read: into every reldir). ioA search goes through my 15000+ dirs and gives me result in less than 1 second. That's on a regular IDE drive on crappy VIA controller. Who needs faster search than that?
Ok i will try to optimize my config if possible. i have about 200GB spanned over 3 IDE Drives. Most of the files are music and sorted like /cat/Artist/Album/Title so i have to scan a lot of subfolders. Maybe this slows down the search? I have to wait up to a minute for results. Ok now i give your hints a try. Thanks a lot.
wrycat_2 is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 08:37 PM.