title: how to use lftp for connecting to a ftps file server and pushing files to their server
body: <p>we need to connect to one of the FTPS file server and push the files on a hourly basis. We are able to connect to their server using lftp after setting certificate, key files using set ssl:cert-file, ssl:key-file, but need help in sending files to their server using an automated shell script.</p>
  
  <p>We have to follow below while connecting to their server (not sure how to follow these, while transferring commands and files to their server)</p>
  
  <ol>
  <li>For Control channel we have to use one port (example port: 13021)</li>
  <li>For Data channel we have to use other port range (example: 13100 to 13199)</li>
  <li>For Transport Encryption we have to use 2048 bit Explicit SSL (control and data channel)</li>
  </ol>
  
  <p>If any have tried it earlier, please share your inputs here.</p>
  
  <p>The below screen shot conatains debug information for ls and put command. Put command is failed with error.
  <img src="https://i.stack.imgur.com/stLO6.png" alt="enter image description here"></p>