While the following code works (a request gets made to the web server for the resource index.list), when it shows a list of all the files (as found in index.list).
If the two debug lines are uncommented then requests are made to the web server to determine if the path is a directory or it exists. (The DirectoryStream still does not work.)
While the following code works (a request gets made to the web server for the resource
index.list
), when it shows a list of all the files (as found inindex.list
).Similar code that uses the NIO classes doesn't. No request is made to the web server for the content of the directory.
If the two debug lines are uncommented then requests are made to the web server to determine if the path is a directory or it exists. (The
DirectoryStream
still does not work.)