> However, I want a more complete listing, more in line with the 'ls 
> -l' bash command.

Officially, the FTP specifications do not support any arguments for the
various directory listing commands.  Over the years, different FTP
servers have supported different extensions, 'ls -l' is a UNIX directory
listing command that some FTP servers support, but not all, and certainly
not Microsoft FTP. 

If your application needs to work with any FTP server, you can not expect
any of these extensions to be available.  The latest beta versions of the
ICS V6 FTP components do support new recursive directory listing commands,
but you need to use ICS for client and server: 

http://www.magsys.co.uk/delphi/magics.asp

Othewise you need to list each directory in turn, parse the result, then
list any sub-directories found, repeat, loop, etc.  

My high level TMagFtp component does all this automatically, the compiled
objects are free, but to get the source you need to support  the ICS SSL
project financially or license it from my site.

http://www.magsys.co.uk/delphi/magxfer.asp

Angus
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to