Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Apr : Re: Transferring directories having 0..n sub-dirs using idFTP
| Subject: | Re: Transferring directories having 0..n sub-dirs using idFTP |
| Posted by: | "H. Hoffmann" (no.ma..@return.com) |
| Date: | Fri, 28 Apr 2006 21:00:54 |
Remy Lebeau (TeamB) schrieb:
> "H. Hoffmann" <no.mail@return.com> wrote in message
> news:44519eb2@newsgroups.borland.com...
>
>
>>With trap i'm referring to the possibility/chance, to build up a
>>solution that "recurssivly calls itself" on iterating through the
>>Dirs (scanning recursivly for the contents of a certain dir, process
>>contents, finding again a dir -> scanning that for files/dirs and so
>>on and on and on).
>
>
> That is what you are supposed to be doing to begin with. So I still don't
> see the "trap" that you are worried about. If your recursion is implemented
> properly, you will never run into duplicate directories that cause the
> recursion to run endlessly.
>
>
> Gambit
>
>
>
--------------------------------------------------------------------------
> If your recursion is implemented
> properly, you will never run into duplicate directories that cause the
> recursion to run endlessly.
--------------------------------------------------------------------------
Yes you are right there. That was exactly the reason why asking for that
- an idea for a proper implentation - i'm not that familiar with
building up such search algorithms over a FTP-Hosts file structure.
Thx
none