Back 
FtpLocate Simple Query

single word query

Just type the keyword and press the [Search] button

multiple words query   ; is used for AND   , is used for OR

word1;word2;word3 is used to query for filename containing word1 and word2 and word3
word1,word2,word3 is used to query for filename containing word1 or word2 or word3

ps: The pattern match in FtpLocate is case insensitive
ps: In multiple words query, the order of keywords won't change the result

 

Search files by filename

FtpLocate provides the user 2 types of search: search by filename & search by description

When search button is labeled "Filename Search", it means in search by filename mode

Input a partial or complete filename and the FtpLocate will find out all files whose filename contains the keyword string. The result is grouped by ftp servers, and the ftp server most near by the client will be displayed first.(by domain name)
Besides the filename, file size and file date, the file description will be also provided if available.

Example
winzip search for files whose filename contains the 'winzip' string
freebsd;apache search for files whose path name contains both freebsd and apache
linux;apache;1.3 search for files whose path name contains linux and apache and 1.3
windows;ftp search for files whose path name contains both windows and ftp
winzip,winrar search for files whose path name contains winzip or winrar

ps: No matter in simple word or multiple words query, only the files whose filename contains at least one keyword will be returned in order not to get too many useless results.

 

Search files by descriptions

When search button is labeled "Description Search", it means in search by description mode

Sometime, we may want to search some files of certain usage or function without knowing the filename of them. Even with a ftp search engine, it would be a hard work to search such files. The FtpLocate has built a file description database to solve this problem . This database enables FtpLocate to help the user to search the files they want without knowing the filename.

The result is grouped by descriptions, each description is followed by related keywords of filename. The user could click any keyword and the keyword will be passed to the FtpLocate filename search engine to get a more detail result.

Example
win;95;ftp;server search for all ftp server programs under windows platform
win;95;apache search for the windows version of apache server
network;monitor search for all available network monitor
xml;editor search for all available XML editor

 

Advanced Query

Besides the AND(;) and OR(,) operations, the FtpLocate supports most meta characters in regular expression
 
. match any character (except newline)
* match 0 or more times
^ match the beginning of the line
$ match the end of the line (or before newline at the end)
[] Character class, ex: [a-k] matches any character between a and k
() Grouping
| alternation, ex: (ab|cd) matches string ab or cd

ps: FtpLocate uses Glimpse as the indexer, the regular expression support is actually done by Glimpse

Example
java;script match lines containing both 'java' and 'script'. 
internet,intranet match lines containing 'internet' or 'intranet'
ABCD.*YZ$ match lines containing ABCD followed, within arbitrary distance, by YZ, with up to one additional insertion
abc[0-9](de|fg)*[x-z] match lines starting with abc followed by one digit, followed by zero or more repetitions of either de or fg, followed by either x, y, or z.