WildCard Search - WeOnlyDo Discussion board

WildCard Search (General questions)

by Anyz, Friday, August 27, 2004, 13:31 (7179 days ago)

Does wodFtpDLX supports searching using wildcard on sftp server and return collection with names of files found. So one can loop through names to download files or other operations.

Re: WildCard Search

by wodSupport, Friday, August 27, 2004, 15:02 (7179 days ago) @ Anyz

Anyz,

SFTP protocol does not support wildcard searches. You must list complete directory listing, and then filter it somehow only to match your pattern.

If you use, for example, LoopFiles, you will get LoopItem event fired for each file found - and then you can match it with some pattern and put in some local collection for later operations.

Hope I helped.
Kreso

Re: WildCard Search

by Anyz, Friday, August 27, 2004, 15:08 (7179 days ago) @ wodSupport

Thanks for your helpful reply. I got your idea and trying to implemnet it, if it works for me. I will update my findings here soon.