Re: xxx.tar.gz on Windows.
Matthew Dalton wrote:
>
> (I've just received Eric Miller's reply, so I'll make some comments on
> that as well)
>
> Eric says:
> > 1) tell your user's to Shift-Click the links to download, and/or make
> > sure Netscape isn't decompressing the files when it downloads them
> > (probable cause).
>
> I do shift-click, but it doesn't always work.
>
I just tried the shift-click, and that made unzip work on my machine.
I didn't think this would be necessary on Windows since it comes back
and asks whether you want to save or open. Just another proof that
Windows is NOT easy to use.
>
> > 2) check that the files aren't being renamed to xxx_tar.gz . For some
> > reason this happens on some windows boxes. They have to be renamed to
> > xxx.tar.gz to be useable.
>
> Tried renaming the file before saving. The file name is correct, but it
> is still corrupt.
>
On my machine I let Windows rename the file to xxx_tar.gz. When I unzip
it, it creates another archive and unzips that archive. In the end I end
up with two archives and the unzipped directory. Not perfect, but at
least my users will be able to get the files. I guess that's what can be
expected by an OS like that.
> > 3) possibly give your files the *.tgz extension. It should be recognized
> > as a compressed tar archive by Winzip (tar czf xxx.tgz mydir).
>
> Nope, still doesn't work.
>
Didn't even try that since I was able to finally get the files with the
method described above. BTW. How do I create the .tgz rather than the
.tar.gz? Do I rename it after creating the archive? Can I do it in "one
shot"? It seems there is some script in the Debian distribution, but it
doesn't seem to work.
Thanks for everyone's help!
Reply to: