问题描述
下面是代码段。 .zip文件夹未解压缩...不会解压缩,但是如果我查看文件夹,我看不到任何更改
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");
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)