ftpGetLastServerResponse()

Method. Returns the text message from the FTP server received as a result from the last user command.

public String ftpGetLastServerResponse()