You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Daniel F. Savarese" <df...@savarese.org> on 2003/01/26 02:18:26 UTC

Re: [net] FTP protocal, LIST command, and "dot" files

In message <378277A8F8AD4049AD8BC80D1F2B953930AC93@sawmailsf1.sawyermedia.local
>, "Jeff Barrett" writes:
>I'm not clear on the capability of commons-net to list directories who's =
>name begins w/ a period e.g. .svn, .ssh.  A standard =
>FTPClient.listFiles() sends a LIST which doesn't return said files.

This has nothing to do with FTPClient.  It has to do with how the server
on the other end lists files.  You can get FTP servers using ls to list
more stuff by passing -a as a pathname or as the first part of your
pathname, .e.g "-a pathname"  This may be what your command line client
is doing by default.  However, it won't work with all FTP servers.

daniel



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>