Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: TIdFTP DIR command

www.cryer.info
Managed Newsgroup Archive

Re: TIdFTP DIR command

Subject:Re: TIdFTP DIR command
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Wed, 31 May 2006 11:54:33

"PiotrF" <pfrydrychowicz@wp.pl> wrote in message
news:447dd193$1@newsgroups.borland.com...

> does TidFTP support Dir command?

There is no DIR command in the FTP protocol.  If you are referring to the
DIR command in the command-line FTP program that is provided with Windows,
then it sends the LIST command to the server.  The LIST command supports
filtering.  Simply specify a mask for the files that you want.  For example:

    IdFTP1.List(nil, '*.ext');


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive