Re: FTP with SSL (Indy 10) List command problem

Giganews Newsgroups
Subject: Re: FTP with SSL (Indy 10) List command problem
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Mon, 9 Jan 2006

"Jörg Pfander" <joerg.pfand…@gmx.de> wrote in message
news:5F09699BC2E8E240joerg.pfand…@gmx.de...

> When i start the demo i got an EIdReplyRFCError (No files found)

That is a normal error, defined in the RFCs for the FTP protocol, when
retreiving a listing of an empty directory.  You can catch the exception and
move on.

> After that the connection will be disconntected.

Only if you are disconnecting the connection yourself.  List() will not
disconnect the connection.

> What could be the problem with the List command ?

Nothing.  It is doing exactly what it is supposed to be doing.  You tried to
retreive a listing for an empty directory, so the server reported an error
as such.  TdFTP received the error response and wrapped it into an exception
for your code to handle.

Gambit

Replies

None

In response to

FTP with SSL (Indy 10) List command problem posted by Jörg_Pfander on Mon, 09 Jan 2006