How can I download a list of files (rather than 1) from remote FTP server? If I read the content of URLConnection's getInputStream() method, will I get the list of file names, or the file content of all files?
I am having a problem with sun.net.ftp.FtpClient :: closeServer() method. Whenever I use this function it hangs and doesn't return for a long time. It doesn't throw any exception(s) and dies with FTP reply error.