I want to know whether there is a directory in the remote FTP Server or not.I tried to use FTPCliet.exists method to solve this.But it throws Exception that "Unable to determine if file ~~ exists." Maybe, I think that method supports only a file, the real file.So, I tried it with a remote file, and it was successful. However, I really wanted is to know the existence of a directory, not a file.As you know, there is no distinction between a direcotry and a file in UNIX system. Would please let me know what I should use to solve this?