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.
We have to follow below while connecting to their server (not sure how to follow these, while transferring commands and files to their server)
- For Control channel we have to use one port (example port: 13021)
- For Data channel we have to use other port range (example: 13100 to 13199)
- For Transport Encryption we have to use 2048 bit Explicit SSL (control and data channel)
If any have tried it earlier, please share your inputs here.
The below screen shot conatains debug information for ls and put command. Put command is failed with error.