I would like to send files from my first remote server to another one:
public boolean uploadFile() throws JSchException, SftpException {
    ChannelSftp channelSftpA = createChannelSftp();
    ChannelSftp channelSftpB = createChannelSftp();
    channelSftpA.connect();
    channelSftpB.connect();
    localFilePath = "/data/upload/readme.txt";
    remoteFilePath = "/bingo/pdf/";
    channelSftpA.cd(localFilePath);
    channelSftpA.put(localFilePath + "readme.txt", remoteFilePath + "readme.txt");
But it doesn't work. Should I put channelB.put into my first channelA.put?