hi Sergio, also, beware of "Symbolic" links in the directory you are listing, to which you might not have access for listing, if you are on Unix. because if you are listing directories recursively (if you know what i mean) then that will give you error when you run the code and try to list directory that is a symbolic link to which your account doesn't have proper access rights. this might happen even if you are not using recursive approach but just listing for the current directory or something ... there is no method, atleast i didn't find, in API that directly tells us if something is symbolic link or not..i had to write my own method for it...thats not difficult though... regards maulin
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: How well to list the content of a directory in java?