Index: lams_common/src/java/org/lamsfoundation/lams/util/zipfile/ZipFileUtil.java =================================================================== diff -u -rbad08c13deb4bc303c07eb851957e0807d63e570 -rca0172edce3b4798059b892187fcf985099749ab --- lams_common/src/java/org/lamsfoundation/lams/util/zipfile/ZipFileUtil.java (.../ZipFileUtil.java) (revision bad08c13deb4bc303c07eb851957e0807d63e570) +++ lams_common/src/java/org/lamsfoundation/lams/util/zipfile/ZipFileUtil.java (.../ZipFileUtil.java) (revision ca0172edce3b4798059b892187fcf985099749ab) @@ -138,6 +138,7 @@ entryName = entry.getName(); String destName = tempDirName + File.separator + entryName; + log.debug("Prepare directory for :" + destName); prepareDirectory(destName); FileOutputStream fos = new FileOutputStream( destName ); @@ -178,8 +179,10 @@ //It must sort out the directory information to current OS. //e.g, if zip file is zipped under windows, but unzip in linux. destName = FileUtil.makeCanonicalPath(destName); + log.debug("Change canonical directory to :" + destName); File destNameFile = new File(destName); String path = destNameFile.getParent(); + log.debug("Making path :" + path); if(path != null){ File pathDir = new File(path); pathDir.mkdirs();