Below is code snippet. Unzipping of .zip folder is not happening... It doesnt through but if i look at folder, i dont see any changes
public void unzipfolder(ChannelExec channelExec, String destPath, String filename)
throws JSchException, IOException {
System.out.println(filename + " Unzipped started");
channelExec.setCommand("unzip " + destPath + "/" + filename);
// channelExec.setCommand("unzip " + filename + " -d /home/testftp");
channelExec.connect();
channelExec.run();
System.out.println(filename + " Unzipped");
}