Can't open .lha file

I haven't ever had an issue browsing the contents of Amiga .lha files. But I've come across one that DirOpus doesn't seem to like - "...data is invalid (13)". I'm able to extract the contents of that same file using the Amiga version of LhA (on an Amiga) without issue. WinRAR also doesn't have any issues extracting the contents on my PC. So, the issue seems to be with DirOpus. I have DirOpus 12.31 installed.

Here's a link to the file page (not the file itself) on Aminet that DirOpus complains is invalid:

http://aminet.net/package/util/virus/vht-vc25

You can download the .lha archive from there to try and replicate the issue.

It's because the archive has a file entry with a zero-length name.

This causes problems with WinRAR as well, since it tries to replace the directory you're extracting to with an unnamed file and asks if you want to replace/rename/etc.

We'll handle it a bit better in the future by generating names for unnamed files in archives like this, which is what 7-Zip does.

1 Like

Thanks Leo!