Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Mar : Re: Problem with List Command in TIdFTP

www.cryer.info
Managed Newsgroup Archive

Re: Problem with List Command in TIdFTP

Subject:Re: Problem with List Command in TIdFTP
Posted by:"Mikael Lenfors" (mika..@lenfors.se)
Date:Fri, 7 Mar 2008 11:48:58

Thanks for your reply, I agree, it seems like im located in the "wrong"
directory when I execute the List command. But why then doesn't the
ChangeDir(FTPPath); command report any error?

Regards, Mikael


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:47d02ee8$1@newsgroups.borland.com...
>
> "Mikael Lenfors" <mikael@lenfors.se> wrote in message
> news:47d010f1$1@newsgroups.borland.com...
>
>> The error I get is:
>> 'Failed reading directory (550)'
>> 'Error: *: No such file or directory.'#$D#$A
>
> That is an actual error that is reported by the FTP server itself.  It is
> telling you that you requested a folder that does not actually exist on
> the server.  It looks like you called List('*'), is that right?
> Apparently the server does not support such a wildcard.
>
>> If I do exactly the same FTP commands from a DOS FTP
>> it works and I get the following result;
>
> There is no error being reported by the FTP server in that situation.  The
> DOS FTP client is likely not using the '*' parameter when retrieving a
> directory listing.
>
>
> Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive