indraniria
3 years agoContributor
How do I download a file from FTP server in ReadyAPI?
As I post an API, a file gets generated in a remote server.
I can see the file connecting via FileZilla in port 22. I need to validate the content of this file.
How do I do this?
Also, below script is giving false to me
import org.apache.commons.net.ftp.FTPClient
FTPClient client = new FTPClient();
client.connect(host);
boolean isSuccess = client.login(username, password);
log.info isSuccess