Prev: Debugging Classic ASP - Attach Dll host
Next: Reg authentication for classic asp internal web site
From: jodleren on 9 Jul 2010 17:43 On Jul 9, 4:31 pm, "Bob Barrows" <reb01...(a)NOyahoo.SPAMcom> wrote: > jodleren wrote: > > On Jul 9, 11:57 am, jodleren <sonn...(a)hot.ee> wrote: > >> Hi > > >> Does anyone have any idea how I can do a fast search for a file on > >> server. > > >> Say, abc.def on \\server\someplace\ > > >> I made ascript which uses about 6 minutes for 2200 folders, ~3GB. > >> Windows does that in ~10 sec. > > >> How can I do that search a lot faster? > > >> Sonnich > > > I found the IXSSO, searched for some examples, found none that worked. > > Any links please? > > I've never needed to do this so all I can offer is this:http://www.google..com/search?hl=en&safe=active&q=IXSSO+-.Net&aq=f&aqi... Tried this, thanks I got something to work, but new questions. I searches in the files, not the file names :) Half way there, but still... I tried www.alltheweb.com for searching, (dont like google), but actually there is not much about IXSSO out there.... I am looking for "lost" drawing numbers on a FTP disk - which is a server \\server\ftpfolder which also is not accepted by the IXSSO Sonnich
From: Dan on 12 Jul 2010 04:42 "jodleren" <sonnich(a)hot.ee> wrote in message news:6b831223-366d-40fc-b55e-f249908d82e4(a)d37g2000yqm.googlegroups.com... > On Jul 9, 7:54 pm, "Dan" <n...(a)worldofspack.com> wrote: >> "jodleren" <sonn...(a)hot.ee> wrote in message >> >> news:a47c7db2-970b-404e-920d-a38e3e8d708d(a)e5g2000yqn.googlegroups.com... >> >> > Hi >> >> > Does anyone have any idea how I can do a fast search for a file on >> > server. >> How are you searching at the moment? >> >> -- >> Dan > > this way > > dim folderlist() > set fso2 = CreateObject("Scripting.FileSystemObject") > <code snipped> Right, so you're using the FileSystemObject. I noticed your reply about IXSSO (by the way, I'd suggest if you want to find additional help with this that you at least consider using Google, you might not like it but it's a good way to find far more than ATW indexes), it will work with a network share if the server on which the share is located has the indexing service running. Other than that, all I can suggest is that you use the FindFile API and create your own COM DLL. There is sample code here: http://support.microsoft.com/kb/185476 although you'll need to strip it down a bit. I have a small app that uses the FindFile API to search the image folders that are shared by all the web sites I run, and it will rattle through almost 3 million files spread across almost 100,000 folders in less than a minute (actual file size is irrelevant as for a simple search on filename the APIs will simply use the MFT), but if you feel the need to draw a comparison this is 55.6GB of data). -- Dan
First
|
Prev
|
Pages: 1 2 Prev: Debugging Classic ASP - Attach Dll host Next: Reg authentication for classic asp internal web site |