Org.Apache.Commons.Net.Ftp.Parser.
Parserinitializationexception: Unknown Parser Type: Linux

Apache commons NET FTP retrieve not working after file reading

I found the problem. Apparently I just have to flush the server replies with ftpClient.completePendingCommand() after reading the version from the text file. I still do not get why happens just with one of both processes though, I would like to understand.

Thanks!:)

Apache Commons FTPClient.listFiles

This seems like the same issue I had (and solved), see this answer:

Apache Commons Net FTPClient and listFiles()

What is the default constructor for C++ pointer?

It'll create a NULL (0) pointer, which is an invalid pointer anyway :)



Related Topics



Leave a reply



Submit