Hello all,
I am new to webMethods. I need help on unzip a folder containing files/subfolders . I am using unZip service but its not working. At the same time I tried to wrote the Java code to unzip. It is unzipping the folder if it contains files. and its showing error if it contains files&subfolders.
Can you share the java cod that you are using to unzip the directory.
You can check ZipEntry.getNextEntry() is a directory or not before extracting. To check this , use entry.isDirectory() method. I
f it is not a directory, then extract the file.
Below link has some sample code for unzipping the files within sub folders.
[URL]http://examples.javacodegeeks.com/core-java/util/zip/extract-zip-file-with-subdirectories/[/URL]