var zipFile = “c:\\test.zip”; var sourceFiles= new Array(${arrayOfFileNames}); try { var buffer = java.lang.reflect.Array.newInstance(java.lang.Byte.TYPE, 5000); var fileOutput = new java.io.FileOutputStream(zipFile); var zos = new java.util.zip.ZipOutputStream(fileOutput); for (i = 0; i < sourceFiles.length; i++) { var srcFile = new java.io.File(sourceFiles[i]); var fis =
Read More
Recent Comments