title: Send files from one remote server using JSCH to another server using JSCH too
body: <p>I would like to send files from my first remote server to another one:</p>
  <pre><code>public boolean uploadFile() throws JSchException, SftpException {
          ChannelSftp channelSftpA = createChannelSftp();
          ChannelSftp channelSftpB = createChannelSftp();
          channelSftpA.connect();
          channelSftpB.connect();
  
          localFilePath = &quot;/data/upload/readme.txt&quot;;
          remoteFilePath = &quot;/bingo/pdf/&quot;;
  
          channelSftpA.cd(localFilePath);
          channelSftpA.put(localFilePath + &quot;readme.txt&quot;, remoteFilePath + &quot;readme.txt&quot;);
  </code></pre>
  <p>But it doesn't work. Should I put <code>channelB.put</code> into my first <code>channelA.put</code>?</p>