Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: How to ftp selected files from a directory with Indy
| Subject: | Re: How to ftp selected files from a directory with Indy |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Fri, 18 Aug 2006 17:28:48 |
"Blackbird Crow Raven" <blacky@redgreen.com> wrote in message
news:44e657c8$1@newsgroups.borland.com...
> I need to ftp (receive) files fitting certain criteria (e.g./zB
*260*.DAT).
> Does anyone know how to do that or have some code samples for
> doing that (grabbing N files in one session matching a specific file
mask)
> with Indy.
You have to first download the directory listing to see what files are
available, by passing your mask to List(), and then you can loop through the
filenames calling Get() for each one.
Gambit
none