How to connect to an FTP server from an existing connection to Unix server?
Currently I am using Reflection for Unix and OpenVMS . I connect to a Unix server. Once connected, I establish a new FTP connection to the target server. Here is how the console window look like: login: xxx Password : xxx // Now I'm connected to UNIX // Next I am connecting to that FTP ftpLogin@hostName :/whatever/.../ $ ftp someftp.example.com Conencted Name: myLogin Password: XXX Login OK I tried to replicate the same steps programmatically, but got confused with this "double connection" thing. I was able to connect to Unix only, but then I don't know how to proceed. JSch jsch = new JSch();