comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: FINDFILE vs. FILE_SEARCH
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: FINDFILE vs. FILE_SEARCH [message #47020 is a reply to message #47018] Wed, 18 January 2006 08:52 Go to previous messageGo to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Mark Conner wrote:
> I'm using IDL 6.1 on WinXP Pro to look for a set of files (can be
> 1500+) in a directory on a Sun system connected via Samba. The
> directory appears as the standard UNC (\\server\directory\files.ext).
>
> I've read all the stuff that says to use FILE_SEARCH instead of
> FINDFILE. However, it takes nearly two minutes to return a list of
> files (setting /NOSORT saves perhaps a couple seconds). Using FINDFILE
> I get a list back in three seconds. Any ideas why?
>
> Network traffic or machine loads on either end are not a factor. I'm
> guessing it's a issue with how FILE_SEARCH interacts with
> Samba-connected directories, but does anyone know for sure?
> Workarounds (other than continuing to use FINDFILE and hope it works
> properly)?
>

Are you using FILE_SEARCH in a recursive mode? I find that
result = FILE_SEARCH("path", "name") can take a lot longer than
result = FILE_SEARCH("path/name") if there are many subdirectories to
search.

Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: And again more about Plot!
Next Topic: problem with colors

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 20:26:05 PDT 2025

Total time taken to generate the page: 0.15913 seconds