Re: Metod List in C++Builder 5.0 (Indy10)

Giganews Newsgroups
Subject: Re: Metod List in C++Builder 5.0 (Indy10)
Posted by:  Remy Lebeau \(TeamB\) (
Date: Mon, 16 Jul 2007

"Yura" <yu…> wrote in message news:5B06D7AEEB2DE340yu…

>          IdFTP->DirectoryListing->Clear();

You don't need to do that yourself.  List() does that automatically for you.
Besides, it is initially empty after calling Connect(), so there is no point
in clearing it manually anyway.

>          IdFTP->List();    <----------- raise EIdConnClosedGracefully

> I use Indy10 in C++Builder 5

Which build of Indy 10, though?  My guess would be that you are using an
older build that had reading bugs in it.  Make sure you are using the
absolute latest 10.1.6 snapshot before reporting a problem.



In response to

Metod List in C++Builder 5.0 (Indy10) posted by Yura on Mon, 16 Jul 2007