commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject [net] ftp and hidden files in directory listing
Date Tue, 08 Nov 2005 12:42:51 GMT
Hi!

Here is what I got from an VFS user:
>I have one last quesion that I wanted to ask to one of the Commons Net
>developpers because it does not appears in the FAQ I read. Here it is : 
>We are using the library to access a FTP server running under Windows and
>when we list the files in a directory, read only files are not listed !
>In fact, is the list method of the FTPClient was issuing an "ls -a" command
>then the library would receive all the list. Here it seems that it issues
>only an "ls -l" command. Is there a way to say which command should be used
>when using the list method ? or should we build ourselves the command
>string, then send it to 
>the server, and parse the results list ?

What options do I have to issue a "LIST -a" instead of "LIST"?
Or are you interesed in an patch which adds a method 
"FTPClient.setListHiddenFiles()"?

Thanks!
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message