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\) (no.spam@no.spam.com)
Date: Mon, 16 Jul 2007

"Yura" <yu…@kase.kz> wrote in message news:5B06D7AEEB2DE340yu…@kase.kz...

>          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.

Gambit

Replies

In response to

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