file 1 « Zip « Java I/O Q&A





1. How to unzip files recursively in Java?    stackoverflow.com

I have zip file which contains some other zip files. For e.g. the mail file is abc.zip and it contains xyz.zip, class1.java, class2.java. And xyz.zip contains the file class3.java and class4.java. So i ...

2. where can I get the latest JRE / JDK as a zip file, I mean, no exe installer    stackoverflow.com

You may call me a maniac, but I like to be sure that just by copying the contents of the java folder and setting the environment variables, everything will work fine. So ...

3. Java: how to check if a generated zip file is corrupted?    stackoverflow.com

we have a piece of code which generates a zip file on our system. Everything is ok, but sometimes this zip file while opened by FilZip or WinZip is considered to ...

4. Unzipping a file    stackoverflow.com

How to unzip a file from a folder, and then convert the XML document contained in this file, to a CSV format?

5. Add all the zip files to a new file    stackoverflow.com

Guys is there a way to add all the zip files to a new zip file.

6. In Java, How can I programmatically identify a hidden file in a zip?    stackoverflow.com

I would like to ignore hidden files when extracting a zip. Is there any way i can identify that a ZipEntry belongs to a 'hidden' file?

7. Reccomend an indexed file format that can be updated via random access in Java    stackoverflow.com

I need an indexed file format that can hold a few hundred large variable sized binary blobs. Blobs are around 1-5MB and the file could be as large as 1 GB. ...

8. Issues with zipping files in Java    stackoverflow.com

I am currently trying to zip all files within a directory. The zip file is being created and the files are being processed - but for some reason the files are not ...

9. Java Move File With Certain File Extension    stackoverflow.com

Hi i'm working on a simple program and for the set up of the program i need the program to check a directory for zip files and any zip files in ...





10. Create Zip file with jazzlib in j2me    stackoverflow.com

I can unzip file but can't create zip, it always products an error file, just put entry name without data(see it in hex code) what is missing there?

try{
byte[] buf={20, 21, 22,23,24,25};
FileConnection ...

11. How to zip long string into file and retrieve it?    stackoverflow.com

I am trying to zip a long string into a file and to retrieve it. The following code does not work. What it retrieves is gibberish.

public static void main(String args[]) {

  ...

12. Problem in Zipping a File    stackoverflow.com

When I run my code and use the files that are in the resource folder of my project itself, I face no problems. It zips the file successfully and I can ...

13. unzip file using java    stackoverflow.com

Is there any external jar that can be used to unzip files using java.Some of the codes to unzip a file using java available in the internet showing inconsistent behavior for ...

14. (de)compressing files using NIO    stackoverflow.com

In the many examples online, files are (de)compressed in java using a coded buffer. With NIO, however, there is no need to choose a good buffer size. I found examples for ...

15. Unzipping file is really slow    stackoverflow.com

I've written some code that retrives a zip file and unzips it into a directoy. The zip file contains two folders and depending on what folder each file is in, it ...

16. Zipping a byte[] from a txt file    stackoverflow.com

I need to read a txt file, convert it from UTF8 to ISO8859-1 and store the textfile into a zip. This is what i got so far:

Charset utf8charset = Charset.forName("UTF-8");
Charset iso88591charset = ...





17. In org .commons.ziparchiveentry how to give the filename in foreign languages    stackoverflow.com

In ZipArchiveEntry how to define the filename(files that are zipped have name in the foreign language other than english). When i define ZipArchiveEntry ze = new ZipArchiveEntry(filename); It works fine for linux machines ...

18. Zip file with java    bytes.com

Hi, i have a question that I have 10 zip files and i want to put them in a file and then one by one want to fetch a csv file ...

19. Zipping subdirs along with files    coderanch.com

I need to zip up the contents of a selected directory. Zipping up files in this directory is no problem. However, my 'ziiping' needs to take into account if the dir has subdirs in them. Does anyone have some code examples that I could see for this? I was thinking that I need to utilize recursion. Any help is appreciated.

20. Could you unzip a file with a java program    coderanch.com

hi ther.... hope this wil work....for unzip import java.io.*; import java.util.zip.*; public class JUNZIP { public static void main(String[] args) { try { if (args.length != 1) { System.out.println("Usage: java JUNZIP "); System.exit(1); } String filename = null; if (args[0].endsWith(".gz")) { filename = args[0].substring(0, args[0].lastIndexOf(".gz")); } else { System.out.println("Inputfile must have extension .gz"); System.exit(1); } FileOutputStream out = new FileOutputStream(filename); System.out.println("Extracting ...

21. invalid zip file    coderanch.com

Hi, Thanks for the suggestoin. I should probebly give more details to what happens. Que - used by the reader and writer. Reader puts a buffer to the que, writer takes it of the que and writes to a file. Pool - pool of buffers. Reader takes a buffer, reads from the file and passes it to a que. Writer releases ...

22. Archiving Files in zip files    coderanch.com

Hi all, i write a program that generates as output a set of images and pdf files.Actually i store these files in separate directories one for images and one for pdf files.i want know to archive these files in zip files so that i can later extract each file from the archive so i can view it to the user in ...

23. zipping files: problems with german umlauts in filename    coderanch.com

hello all, i have a problem with zipping files: i use the class JarOutputStream, JarEntry (java.util.jar.*) to zip few files together to a archive. That works fine for normal filenames but when the filename have a german umlaut like "Prfdokument.txt" in it, in the zip archive the filename is called "Pr++fdokument.txt". When i look at the name of the jarEntry Object ...

24. java.util.zip and a password-protected zip file    coderanch.com

I'm trying to unzip files from within my Java program. Before I would try to just exec a process that would run pkunzip on my files, but I've been trying that on a Win2003 machine and would always get a strange error from Windows saying something about the environment not being set up (and yes, I was hardcoding the path to ...

25. unzip files at client side    coderanch.com

Hello, I am trying to do the following: 1] download a zip file from server [hopefully in memory if possible] 2] unzip the file, and get the contents in a byte[] I need to unzip n read contents on the client-side. Is it possible to do it w/o having a physical copy or a cached copy of the file on the ...

26. Fastest way to unzip a file    coderanch.com

Hello All, I have a huge zip file arnd 500 MB with a large number of entries each of small size average of 200 KB each. I know how to unzip a file using java. I just want to know if there is a faster way of doing it. would it be faster if I use something like unzip.exe (If yes ...

27. Problem zipping the file    coderanch.com

Hi Guys, I m getting null poniter exception where i pass the location of the file in the args[0] if i run like java Zip . it works fine. if i give the location ex:java zip c:\santhosh\test it gives me a error saying null pointer exception. The code as follows import java.io.*; import java.util.zip.*; public class Zip { static final int ...

28. Problem with searching for a file which is in the zip file    coderanch.com

Hi guys, i m writing a program to search for a file(say .txt file).if the file is found it will write to a directory. I m getting the problem with searching for a particular file(say txtfile) from the zip file. this program work fine if i specify the zip file name and name of the file to be searched is given,bt ...

29. Strange problem while creating zip file    coderanch.com

Hi all I have this code which generates multiple pdf files and then creates a zip file by creating a ZipOutputStream using the response.getoutputstream(). The files get zipped and everything works fine except for a couple of things. 1.The client gets 2 prompts,one after the other, asking him to open/save/cancel. 2.The file opens up with winzip without any errors but some ...

30. reg zip file creation    coderanch.com

Hi, I am having a problem with zip file creation for creationg zip file i have return on method: public void CreateZipFile(String zipFileName, String[] ToCompressFiles) { try { String[] fileNames = ToCompressFiles; FileInputStream inStream; FileOutputStream outStream = new FileOutputStream(zipFileName); ZipOutputStream zipOStream = new ZipOutputStream(outStream); zipOStream.setLevel ( Deflater.BEST_COMPRESSION ); for (int loop=0;loop < fileNames.length; loop++) { inStream = new FileInputStream(fileNames[loop]); zipOStream.putNextEntry(new ZipEntry(fileNames[loop])); ...

31. Problem in unzipping the zip file    coderanch.com

hi All, I have written a program to unzip the zip files. It works fine when we are zipping a zip file having a single folder i.e when you have zipped a folder putting files inside a single folder. But when you try to unzip a zip file having mutiple folders it gives error. i have pasted the program //unzip files ...

32. Zip file creation and problems unzipping    coderanch.com

I am using the java.util.zip.ZipOutputStream to create a zip file. I store it on a server and then invoke a script file that ftp's this zip file to our mainframe environment where a COBOL program tries to unzip it with PKUnzip. Each time they try to unzip my zip file they get an "invalid zip archive" error. But I am able ...

33. Nothing gets written to the zip file    coderanch.com

I'm having trouble writing to a Zip file. I so happen to need a reference to a File object just in case you're wondering why I'm returning a File. Please take a look at what's the problem here... Nothing is getting written to my zip file but there's also no Exception thrown or error shown... Thanks! public File getZip(Collection fileCollection, String ...

34. Zip files on the fly    coderanch.com

Tried to zip multiple files on the fly in java servlet with zip package (ZipOutputStream), so users can download the zip file by calling the servlet. It works fine for small files. But occasionally the browser stops the download before completion when users invoke the servlet action, and the zip file downloaded is corrupted. The servlet response header content length is ...

35. decoding, unzipping word file    coderanch.com

36. zipping file    coderanch.com

a byte array needs to be zipped and returned, without making use of intermediate temporary file.......i am able to zip as follows: ZipOutputStream out = new ZipOutputStream(new FileOutputStream(zipFileName.toString())); FileInputStream fileStream = new FileInputStream(newFile); out.putNextEntry(new ZipEntry(zipFileName.toString())); int len; while((len = fileStream.read(buf)) > 0) { out.write(buf, 0, len); } out.closeEntry(); fileStream.close(); out.close(); then read the zipped file in doing so i am first ...

37. Unable to create ,zip file    coderanch.com

Hi I have written one function for crating zip file public void zip(){ try { BufferedInputStream origin = null; FileOutputStream dest = new FileOutputStream("c:\\MyZip1.zip"); CheckedOutputStream checksum = new CheckedOutputStream(dest, new Adler32()); ZipOutputStream out = new ZipOutputStream(new BufferedOutputStream(checksum)); //out.setMethod(ZipOutputStream.DEFLATED); byte data[] = new byte[BUFFER]; // get a list of files from current directory File f = new File("."); String files[] = f.list(); ...

38. Multipart problem with zip files !    coderanch.com

I have a zip file named as base.zip containing a war (binary) named as child.war. Now, when I upload it using the servlet, a single byte in the resulting file gets changed due to which base.zip opens but when I try opening the child.war through winzip, it results in an error of CRC mismatch. My upload servlet works fine for everything ...

39. Problem zipping a war file    coderanch.com

I am creating a zip file from a directory that contains a War file; my code looks like this: private void zipFiles(File cpFile) { if (cpFile.isDirectory()) { if(cpFile.getName().equalsIgnoreCase(".metadata") ||cpFile.getName().equalsIgnoreCase("Libraries") ||cpFile.getName().equalsIgnoreCase("RepositoryBuild") ||cpFile.getName().equalsIgnoreCase("images")){ return; } File [] fList = cpFile.listFiles() ; for (int i=0; i< fList.length; i++){ zipFiles(fList[i]) ; } } else { try { System.out.println("Zipping "+cpFile); size += cpFile.length(); //String strAbsPath = ...

40. Java applet accessing zip files    coderanch.com

I am relatively new to Java, but have done a lot of other programming. I need to write an applet that downloads a zip file from the server (the url for the file being supplied in an applet parameter), unzips the contents onto local disk, and spawns a custom viewer process that uses those files. I have already figured out the ...

41. java.util.zip and a password-protected zip file    coderanch.com

I'm trying to unzip files from within my Java program. Before I would try to just exec a process that would run pkunzip on my files, but I've been trying that on a Win2003 machine and would always get a strange error from Windows saying something about the environment not being set up (and yes, I was hardcoding the path to ...

42. How to zip a file using java.util.zip....    coderanch.com

Please....Clarify, There are folders with some .xml files and .pdfs in a folder structure each folder has one .xml file and one .pdf file, I want to zip these folders using some automated tool. I try to develop a tool using java now I want to understand How can I use java for zip these folders? Thanks

43. File lock for Zip files in Java    coderanch.com

In an application the following takes place. 1) On one side data is getting written to the output file which is in zip file format. 2) On the other hand simultaneously data will be read [i.e edited] from the same zip file. There are certain APIs in java to control the simultaneous access [i.e Read and write problem] for a flat ...

44. Zipping files    coderanch.com

Hi, First let me explain what I need to achieve using my Java application. There is directory : XXX, inside this dir. there are some more dir. like A,B,C. There can be an image file 123.jpg which can be present in each of these dir. and that too with the same name. Basically, XXX\123.jpg, XXX\A\123.jpg and so on. Now the problem ...

46. Reg Zip file creation    coderanch.com

Hi, I am having a problem with zip file creation for creationg zip file i have return on method: public void CreateZipFile(String zipFileName, String[] ToCompressFiles) { try { String[] fileNames = ToCompressFiles; FileInputStream inStream; FileOutputStream outStream = new FileOutputStream(zipFileName); ZipOutputStream zipOStream = new ZipOutputStream(outStream); zipOStream.setLevel ( Deflater.BEST_COMPRESSION ); for (int loop=0;loop < fileNames.length; loop++) { inStream = new FileInputStream(fileNames[loop]); zipOStream.putNextEntry(new ZipEntry(fileNames[loop])); ...

47. zip file    coderanch.com

hi friends i have a problem with the buffered writer in ziping the file. when i zip the file uing zipoutputstream i have clubbed the zipoutputstream with buffered writer so the i will not have a buffer problem,but the resulting zip file is corrupted . please help me out the zip the file using buffered writer thanks shiva

48. How to write zip files into another zip file..?    coderanch.com

Hi everybody, Does any one know how to write zip files into antoher zip file? In my application I have to provide the user to export the files he is intrested into a zip file. There are different category of files, so I need to put each category into a directory, zip it and put all the directories into another zip ...

49. Zip file    coderanch.com

50. jdk1.5 as zip file?    coderanch.com

I've done this before successfully for 1.4.2. This is how I did it. Install the JDK on machine A. Zip up everything on machine A under the C:\j2sdk1.4.2_06 folder (which is where the JDK installed to). Extract this zip file on machine B (where you don't want to run an installer). This will give you a folder structure that is the ...

51. zip file bug?    coderanch.com

Hello, I used java.util.zip to create zip files. What I noticed is that if I try to open the zip file by double click on it, there's nothing inside. Also if I try to extract it manually (right click and choose extract), it will encounter error. Has anyone encounter this before? This is so weird because the code I used is ...

52. Warning during compil.: "QTJava.zip: no such file"    coderanch.com

Hello, i have just implemented the latest version of JDK (6.0.4). When i compile a simple Java code, with the option "-Xlint", the compiler puts out the following warning: C:\WebAppsDev\beerV1>javac -Xlint -d classes src/com/example/web/BeerSelect.java warning: [path] bad path element "C:\Program Files\Java\jre1.6.0_01\lib\ext\QTJava.zip": no such file or directory Can somebody tell me what this means? When googeling i found that QT is linked ...

53. Problem with List of files to zipped    coderanch.com

Hi, I had some issue with zip the files and folder together. Problem is : List filesList=new ArrayList(); filesList.add("c://test1.txt"); filesList.add("c://test1.txt"); ilesList.add("c://test"); Above i have List which have two files and one folder , Now i have to Zip these 3 files such way that i have to search "test" contains any folder again inside the folder we have any folder so ...

54. Problem creating the zip file    coderanch.com

Hi All, This is the code I am using to create a zip file with a pdf file. The same code works fine when I create a zip file with a doc file. When I open the pdf in the zip file, it says it is corrupted or damaged and cannot be opened. try { String filePath = "E:\\"; String file ...

55. Does java.util.zip.GZIPInputStream support files > 4GB?    coderanch.com

From the past experiences i know that Java zip file streaming doesnt support files greater than 4GB and is still in the bug list of jdk. So we are using other API's like truezip to do the same. But recently when i tried to unzip a GZIP format file > 4GB using java.util.zip.GZIPInputStream it worked. Does anyone know why and how ...

56. Decrypt Zip File with 128bit AES    coderanch.com

Hello my name is George , I want to make a program to decrypt a zip file with 128-bit AES Encryption using Brute Force and Dictionary Attack. Because it is my first time I try to make something with the encrytpion libraries I don't know much. Because that is an exercise they told us to use this library http://www.javamex.com/arcmexer/ because the ...

57. Unzipping a file using Java IO    coderanch.com

Hi guys here is the code with which i am trying to unzip a zipped file (Not to be done manually ) package com.unix; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.Enumeration; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; public class Unzip { /** Unzipp a Zip */ public Unzip(){} public static void main(String args[]) throws IOException { String inDirectory="C:\\searchResult"; String outDirectory="images/"; ...

59. Not having Doc.zip file in my Jdk?    coderanch.com

60. Zip file Question    coderanch.com

61. Zip file produced by Java can't be opened in OS/390 (Mainframe)    coderanch.com

Hello, I have to zip a file and send it to a mainframe over ftp. The mainframe receives the file, but it can't open it, Pkunzip throws an error. The produced Zip file contains only 1 file. Now, when I open the file in WinRar, rename the filename, rename it back to the original filename again and try to open the ...

62. zip file problem    coderanch.com

63. Problem in creating a zip file java    coderanch.com

I have the following code to create the zip file in java import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; public class FileZipUtility { public static void main(String[] args) { try { String dirLocation = "c:/reports/reports/reports/reports/reports"; String zipFileName = "zipFile.zip"; File folder = new File(dirLocation); File[] listOfFiles = folder.listFiles(); String[] fileName = new String[listOfFiles.length]; for (int i ...

64. Not able to put some files inside Zip file    coderanch.com

Hi All, I have some files(.xml files) to be placed inside a zip file. I tried below code, where instead of placing (.xml)files inside the zip files, its removing all the existing files from zip file and not inserting the (.xml) files. Please let me know if i am missing something try { BufferedInputStream origin = null; FileOutputStream dest = new ...

65. Decompress a zip file in java    coderanch.com

Hi All, I have created a zip file with winzip and the zip contains test t1.txt t2.txt Now I am trying to unzip the file using the example Code Sample 1: UnZip.java provided in http://java.sun.com/developer/technicalArticles/Programming/compression/ but it throws the below error Extracting: test/ Extracting: test/t1.txt java.io.FileNotFoundException: test\t1.txt (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:179) at java.io.FileOutputStream.(FileOutputStream.java:70) ...

66. writing data to zip file    coderanch.com

hi i am trying to write data to zip file reading from another file using this code. import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; public class ZippingFileExample { public static void main(String[] args) { try { String source = "dummy-1.txt"; String target = "data-1.zip"; ZipOutputStream zos = new ZipOutputStream(new FileOutputStream(target)); FileInputStream fis = new FileInputStream(source); // put a ...

67. accentuation in zip files    coderanch.com

Hi, My problem is the accentuation of the files and folder inside of the archive zip! On my research, i found the "java.util.zip.ZipEntry", but it have a bug which do not allows accentuation. That bug will be corrected on the JDK 7, but i did not have time to wait... Now i am try to use the api of apache, specifically ...

68. Zip Files    coderanch.com

Let's just say I have an ArrayList. If I know a particular one represents a text file, how would I go about reading from that file? I don't want to have to extract it to a new text file and then read from that. Is there a way to extract it without writing it to the Hard Disk, and instead read ...

69. Issues with zipping files    java-forums.org

Hi there, I was wondering if someone can shed some light as to why zipping files with the java.util.zip package does not work the same as Winzip. I use this auto-generated zip file to upload to my webserver. When uploading, it unzips the file, and reads an xml file. The xml file only contains one opening and closing tag but somehow ...

70. Unzipping a file    java-forums.org

import java.io.*; import java.util.*; import java.util.zip.*; public class Unzip { static final int BUFFER = 2048; public static void main(String args[]) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter the source directory and zipfile name: "); String input = in.readLine(); try { BufferedOutputStream os = null; BufferedInputStream is = null; ZipEntry entry; ZipFile zipfile = new ZipFile(input); Enumeration e ...

71. how to create a zip output file.    java-forums.org

Hi I have a program which will run some SQL queries and based on some conditions will generate 'n' number of output files. I want to zip all those output files (now the size of the output files is 103 MB) And based on the output from the SQL query ..the size of the output files may change. Can any one ...

73. zip fiel to normal file    forums.oracle.com

74. How can I unpack a zip. file?    forums.oracle.com

75. java 1.5 zip file ?    forums.oracle.com

I don't think there is a zip version. There is a self-extracting binary for Linux that installs/unpacks the SDK to the current directory. The installer (on Windows) doesn't do a whole lot more than unpack, although the more recent installers place java.exe/javaw.exe files in a location that is on the default PATH in Windows (i.e. these executables end up in C:\Windows\ ...

76. help with util.zip up files... does not work    forums.oracle.com

78. I cannot unzip the library source files in the JDK    forums.oracle.com

If you are on Linux try to do the previous step as root. sudo mdkir src (or su and then mkdir on systems without sudo) you will also have to unzip the file as root. You are getting the permision error because the folder you are trying to write in (probably /usr/lib/vm) is not writtable.

79. File not found Exception when zipping a file    forums.oracle.com

80. need help to zip the files? ? ? ?    forums.oracle.com

i am unable to zip the files in my directory by using this program import java.io.*; import java.util.zip.*; public class Zip { static final int BUFFER = 2048; public static void main (String argv[]) { try { BufferedInputStream origin = null; FileOutputStream dest = new FileOutputStream("c:\\zip myfigs.zip"); ZipOutputStream out = new ZipOutputStream(new BufferedOutputStream(dest)); //out.setMethod(ZipOutputStream.DEFLATED); byte data[] = new byte[BUFFER]; // get ...

82. Unable to create zip file    forums.oracle.com

83. zip file is created with 0 bytes    forums.oracle.com

84. i would like to zip two .Txt files in java    forums.oracle.com

Do you want to write a part of it yourself or do you want us to prepare you a complete solution? I provided you with a link to Java's zipping tutorial. If you took the effort to read it, you'll know there is an example zip.java. You can put the initialisation in your main, take what's in the for loop, put ...

86. All zip files turn out as empty text/plain files    forums.oracle.com

May I ask why the heck a JSP is extracting a local ZIP file? Not even considering the point that File I/O is rather discouraged (and not specified) in a JEE environment. And is the ZIP file correct? And since when do directories have a MIME type? I don't fully understand your problem description.

88. Handle ZipEntry as File by extending File    forums.oracle.com

The example I thought out is not fully fleshed out yet -- just an idea that was dancing around in my head. Perhaps it would be a better approach to use a wrapper class. I think I was just being lazy, wanting to reuse some existing File comparators and utility methods. Edited by: Skotty on Jun 28, 2010 5:57 PM

90. problem while UnZipping a file    forums.oracle.com

Hello ALL, I have the requirement where I have to unzip a file and download it. I am using Struts download action for downloading the file.Before downloading i am unzipping it. But the problem is while unzipping, the file gets copied under the profiles folder in server. The file remains there even after download. But I dont want the unzipped file ...

91. using runtime.exec to zip some files    forums.oracle.com

Hi, I am using runtime.exec to try to automatically zip a bunch of files on a server. However, it does not seem to be working. Before I execute the command, I save the zip command in a string. I then print the string to a log file, and then execute the runtime zip command. But nothing happens. Yet, when I copy ...

92. Adding a file into existing zip file    forums.oracle.com

93. Problem unzipping larger files with Java    forums.oracle.com

As a wild guess, when you uncompress the file (such as a text) you can need quite a bit of memory (if you do it all in memory) so you could be running out of memory (which would be an error instead of exception) My guess is that your text files need 5-20x the amount of memory they do when they ...

94. create a zip files in a special way    forums.oracle.com

95. problem in creating zip file.    forums.oracle.com

Hi ... Thanks Rahul .. But as i mentioned earlier that no exceptions... already Exceptions are handled properly.. still i tried your code... but the same issue persists... As per Andrew it is path related issue but why no exceptions if file is not found or any thing else is wrong ..

96. To create zip japanese named file using java    forums.oracle.com

97. zip files in a special way    forums.oracle.com

98. Zip files blocked    forums.oracle.com

Thanks everybody, I'm not sure I understand what you mean about the drive letter being the problem; how is the system supposed to find the file that you want to put in the zip file without the absolute path? Can you only write files is they're in the same directory? I added stream.flush() as a few of you recommendd, and the ...

99. Zip the files from different companies    forums.oracle.com

Hi All, I need sm suggestion here.I have zip file holding files from different company.When a parent company uploads this zip file,the individual child files should be only viewed by the child company.Inside each file we have a serialnum where in we can get the company for which that particualr file belongs to.Thanks in Advance

100. problem in unzipping the zip files    forums.oracle.com