In any case, what if we give an option for running a native command when NLST or LIST command is received. So, the user could configure the FTP server to execute the ls command and we redirect the output of the ls command back to the client. One of the advantages of allowing this for the LIST command is we can actually return more information about files and directories such as if an object is symbolic link, the owner etc. (of course applicable mainly to *NIX systems) which cannnot be retrived using Java. Something to think about.
Sai Pullabhotla www.jMethods.com On Tue, Jun 2, 2009 at 1:51 AM, Niklas Gustavsson <[email protected]>wrote: > On Tue, Jun 2, 2009 at 3:31 AM, Sai Pullabhotla > <[email protected]> wrote: > > I would like to say that the results you have indicated only come from > FTP > > servers that actually run the UNIX's ls command when a NLST command is > > received. Other servers probably adhere to the RFC by just returning > names. > > One addition to this list, FileZilla works as described by Dennis. > > /niklas >
