ChannelSftp sftpFrom = ...........;
ChannelSftp sftpTo = ............;
I'm using BufferedReader
to read file from the first channel and then writing it line by line to the second channel. Is there any better way of copying file from one channel to another?
Is there any copy paste operation?