Nov 23, 2010

ParserInitializationException: Error initializing parser

Using apache commons net,
If you are trying to connect using FtpClient but it fails with the above exception.
Try this solution:
FTPClientConfig ftpClientConfig = new FTPClientConfig(FTPClientConfig.SYST_UNIX);
ftpClient.configure(ftpClientConfig);
FTPClientConfig constant list includes many types. For me, this type works.
Dor

No comments:

Post a Comment