Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

c++builderx
I got a strange thing.
I download c++builderx personal solaris version.
In solaris,gzip return error message.
In windows winzip decompress the file successfully.
Anyone knows reason?

Report this thread to moderator Post Follow-up to this message
Old Post
Joseph
10-17-04 08:56 AM


Re: c++builderx
In article <7d4caedb.0410162049.77601d64@posting.google.com>,
te0543@giga.net.tw (Joseph) wrote:

> I got a strange thing.
> I download c++builderx personal solaris version.
> In solaris,gzip return error message.
> In windows winzip decompress the file successfully.
> Anyone knows reason?

Well, gzip uses a different compression algorithm than winzip -- have you
tried using /usr/bin/zip? (gzip generally works on "*.gz" files, while
zip works on "*.zip")

Cheers,
- jonathan

Report this thread to moderator Post Follow-up to this message
Old Post
Jonathan Adams
10-17-04 08:56 AM


Re: c++builderx
Jonathan Adams <jwadams@gmail.com> wrote in message news:<jwadams-49E7E4.00065617102004@new
s1nwk.sfbay.sun.com>...
> In article <7d4caedb.0410162049.77601d64@posting.google.com>,
>  te0543@giga.net.tw (Joseph) wrote:
> 
>
> Well, gzip uses a different compression algorithm than winzip -- have you
> tried using /usr/bin/zip? (gzip generally works on "*.gz" files, while
> zip works on "*.zip")
>
But the file ends with .tgz,how to decompress the file?

Report this thread to moderator Post Follow-up to this message
Old Post
Joseph
10-17-04 08:56 PM


Re: c++builderx
te0543@giga.net.tw (Joseph) writes:

> Jonathan Adams <jwadams@gmail.com> wrote in message
> news:<jwadams-49E7E4.00065617102004@news1nwk.sfbay.sun.com>...

> But the file ends with .tgz,how to decompress the file?

1. use gunzip to unzip the file
2. use tar to extract the file

It is possible to use a shortcut:
tar -zxf fileName.tgz


Report this thread to moderator Post Follow-up to this message
Old Post
bazad
10-17-04 08:56 PM


Re: c++builderx
bazad <nobody@noreply.not> wrote in message news:<1098040337.kR9r76fuXK2lZpXe75meiQ@teranew
s>...
> te0543@giga.net.tw (Joseph) writes:
> 
> 
>
> 1. use gunzip to unzip the file
> 2. use tar to extract the file
>
> It is possible to use a shortcut:
>    tar -zxf fileName.tgz

I have tried gzip,it returned integrity check error.

Report this thread to moderator Post Follow-up to this message
Old Post
Joseph
10-18-04 02:00 PM


Re: c++builderx
In article <7d4caedb.0410180124.301acb0@posting.google.com>, Joseph wrote:
> bazad <nobody@noreply.not> wrote in message news:<1098040337.kR9r76fuXK2lZ
pXe75meiQ@teranews>... 
>
> I have tried gzip,it returned integrity check error.

What is the result of:

file filename.tgz

?


--
Jim Cochrane; jtc@dimensional.com
[When responding by email, include the term non-spam in the subject line to
get through my spam filter.]

Report this thread to moderator Post Follow-up to this message
Old Post
Jim Cochrane
10-18-04 09:00 PM


Re: c++builderx
Jim Cochrane <jtc@shell.dimensional.com> wrote:
 
<snip> 

Did you by any chance download the file using FTP in ASCII mode? If so, line
termination conversion may have corrupted the file.

Pete

Report this thread to moderator Post Follow-up to this message
Old Post
Pete Brett
10-19-04 02:05 PM


Re: c++builderx
In article <417500dc.1283570947@news.business.ntl.com>, Pete Brett wrote:
> Jim Cochrane <jtc@shell.dimensional.com> wrote:
> 
><snip> 
>
> Did you by any chance download the file using FTP in ASCII mode? If so, li
ne
> termination conversion may have corrupted the file.

You got the attribution wrong - I didn't write the above - just replied to
it that he should try the file command.  But your ftp/ascii corruption
possibility sounds like a candidate.

--
Jim Cochrane; jtc@dimensional.com
[When responding by email, include the term non-spam in the subject line to
get through my spam filter.]

Report this thread to moderator Post Follow-up to this message
Old Post
Jim Cochrane
10-19-04 08:58 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Unix Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:00 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.