title: Using jsch to ftps to a Mainframe computer - fails to connect - but Filezilla works
body: <p>The error message is </p>
  
  <p>com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Software caused connection abort: recv failed</p>
  
  <p>Put file error: next step try connecting    </p>
  
  <pre><code>   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";    
  </code></pre>
  
  <p>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.  </p>
  
  <p>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.  </p>