Hi,
I having been using ftpClient.dirDetails(directory) with success for about 4 months.
I am getting this exception now on the same command.
This is the exception I get on one Unix server
java.text.ParseException: Unparseable date: "-rw-r--r-- 1" at java.text.DateFormat.parse(DateFormat.java:324) at com.enterprisedt.net.ftp.WindowsFileParser.parse(WindowsFileParser.java:101) at com.enterprisedt.net.ftp.FTPFileFactory.parse(FTPFileFactory.java:169) at com.enterprisedt.net.ftp.FTPClient.dirDetails(FTPClient.java:1722) at
I tried doing the same thing on a different FTP server and get this exception
java.text.ParseException: Failed to parse size: r
at com.enterprisedt.net.ftp.UnixFileParser.parse(UnixFileParser.java:149)
at com.enterprisedt.net.ftp.FTPFileFactory.parse(FTPFileFactory.java:159)
at com.enterprisedt.net.ftp.FTPClient.dirDetails(FTPClient.java:1722)
Please let me know what can be wrong? On what configurations of the server does the parser depend?
Any prompt reply is greatly appreciated.
Thanks
VBH