Unzip and OpenOffice ODT lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- bonmario · 2006-10-13 15:18 Hi, in "C:\Lazarus\fpc\2.0.4\source\packages\extra\unzip" there is the file unzip.pp that contains sources to extract files from zip files. When i use it with files .zip i have no problem, but when i use it with files of OpenOffice (*.odt) i can't extract nothing. Someone have tryed to use it with the files of OpnOffice (*.odt) or know how uncompress that kind of file? Thanks, Mario ---------------------------------------------------------------------- felipemdc · 2006-10-13 16:02 Ummm ... maybe odt uses some zip feature that our unit cannot handle. Please submit a bug report for the Free Pascal project about this. A quick solution while unzip unit isn't fixed it to call an external command-line software to unzip the odt. Under linux we have the unzip software. It's probably available for Windows on MinGW (it that how it's spelled?) or Cygwin project ---------------------------------------------------------------------- theo · 2006-10-13 18:02 Ark doesn't know the file type either. You have to select "Java archive" from the options, then it opens it. It looks like a *.jar. ---------------------------------------------------------------------- felipemdc · 2006-10-14 02:14 But I tested on linux, and unzip utility opens it. It may be possible that unzip implements .jar support, but that´s unlikely. ---------------------------------------------------------------------- theo · 2006-10-14 03:04 Theoretically Jar should be Zip in the first place with a manifest in it. Isn't it? So I don't understand the problem either.