The error message is
com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Software caused connection abort: recv failed
Put file error: next step try connecting
public void putFileWithPassword(String inputFileName,
String outputFileName, String host, int port,
String path, String user, String pswd) throws Exception{
say("putFileWithPassword " + outputFileName + " " + host + " " + port + " " + user + " " + pswd);
JSch jSch = new JSch();
Session session = jSch.getSession(user, host, port);
Properties config = new Properties();
config.put("StrictHostKeyChecking", "no");
session.setConfig(config);
session.setPassword(pswd);
response = "next step try connecting"+ " " + host + ":" + port + " " + user+" " + pswd;
// WHAT ABOUT TLS CERTIFICATES?
session.connect();
response = "next step channel open";
To connect and transfer with Filezilla, we set Transfer type = ASCII, set Active Mode, and we used single quotes around the file name to place the file in the proper location on the mainframe.
I have read just about all of the current questions and answers in stackoverflow.com without any success. I am thinking that I might need to use TLS Certificates, what ever they are. Also, the jcraft.com site seems to be unavailable.