I did all that you did Jim. Thank you very much. Unzip -t works. The zip is valid. Zip -FF supposedly repairs it but the new file reports the same issue.
The problem with zip though is I can’t add on to the zip or really do anything at all with the zip. Do I place a bug report with InfoZip or will someone else do it? Curtis > On Jun 2, 2026, at 10:53 AM, Jim Hall via Freedos-devel > <[email protected]> wrote: > > On Tue, Jun 2, 2026 at 8:07 AM Curtis Matz via Freedos-devel > <[email protected]> wrote: >> >> I’m having an issue with zip and getting the error below any ideas? >> >> C:\>zip -r user.zip c:\user > [..] >> C:\>zip -T user.zip >> zip warning: missing end signature--probably not a zip file (did you >> zip warning: remember to use binary mode when you transferred it?) >> zip warning: (if you are trying to read a damaged archive try -F) >> >> zip error: Zip file structure invalid (user.zip) > > This zip exe is from the Info-Zip folks, so this is a problem with the > binary they provided. I just tested it and I get the same issue. But > the zip files are otherwise valid (i.e. the data is there and can be > extracted) but the zip archive is reported as damaged. > > Even more interesting is that using zip -F or -FF to fix it doesn't > actually repair the problem. (zip -T still reports an issue.) > > > I think this is an issue with "zip -T" for that exe. Here's a second test I > did: > > On FreeDOS, zip some files from a directory, and test the zip file: > > D:\SRC> zip -r A:m.zip PROJ > D:\SRC> zip -T A:m.zip > zip warning: missing end signature--probably not a zip file (did you > zip warning: remember to use binary mode when you transferred it?) > zip warning: (if you are trying to read a damaged archive try -F) > > zip error: Zip file structure invalid (A:m.zip) > > > On Linux, mount the floppy and test the zip file again: > > $ zip -T floppy/M.ZIP > test of floppy/M.ZIP OK > > > So while I don't like that zip -T is reporting a problem, the zip file > itself seems to be fine when examined elsewhere. (The zip exe should > be fixed.) > > > _______________________________________________ > Freedos-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freedos-devel _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
