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: | "Eddie Shipman" (mrbaseball34@no_spam_gmail.com) |
| Date: | Fri, 28 Apr 2006 08:48:59 |
In article <44511437@newsgroups.borland.com>, no.mail@return.com says...
<SNIP>
> The question is how to do in a "good" or call it smart way to avoid
> running in recursive traps while iterating through the selected
> directories down to the very last sub-dir of the selected dir on top.
>
<SNIP>
Take a look at my posted example of bulding a treeview from FTP.
This will show you how to recurse an FTP directory structure.
Modify to do your transfers and you're done...
http://www.delphipages.com/tips/thread.cfm?ID=210