The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Binary txt file received when i use uuencode to send txt file as attachment ash22 UNIX for Dummies Questions & Answers 2 04-24-2008 05:03 PM
oops...accidentally overwrote postfix aliases file JeepResQ SUN Solaris 2 01-08-2008 01:51 PM
compiled binary file gives "cannot execute binary file" scgupta SUN Solaris 0 07-12-2006 10:59 PM
Just downloaded Python, what now? SimJim81 Shell Programming and Scripting 1 01-10-2004 06:33 PM
downloaded solaris8 rodelu UNIX for Dummies Questions & Answers 6 12-04-2001 08:01 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-29-2005
Registered User
 

Join Date: Sep 2005
Posts: 1
HELP! Accidentally downloaded .gz file non-binary

Let me start by saying I am at a VERY beginner level in terms of UNIX/FTP/etc.

Someone loaded a file onto a server for me and zipped it using gzip.

I accidentally downloaded the file without using "binary".

I now have a "filename.txt.gz" sitting on my computer that I need
to unzip. Is there a way of getting around having to re-download the file
using binary by doing something with winzip or am I just plum out of luck?

Thanks
Reply With Quote
Forum Sponsor
  #2  
Old 09-29-2005
RishiPahuja's Avatar
Registered User
 

Join Date: Apr 2005
Location: Bangalore, India
Posts: 203
Thumbs up

Welcome to unix.com

Did you try to unzip the file using winzip? what error you got?
CRC error?
To my knowledge you should download the file again using binary option.
Make it a habbit of downloading file using binary by default. i.e even if you download a ascii file as binary it will work fine, while vice versa is not true always.

rishi
Reply With Quote
  #3  
Old 09-30-2005
Registered User
 

Join Date: Jan 2005
Posts: 682
Quote:
Originally Posted by UDcc123
Is there a way of getting around having to re-download the file using binary by doing something with winzip or am I just plum out of luck?
Plum out I'm afraid. There is nothing in winzip to help correct this. Your only remote hope is to upload it again in text mode and hope the you didn't have any binary 0x0a characters without 0x0d characters. Since you're faced with this prospect, download again using binary mode.

Winzip expects the file to pass the CRC checks.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:42 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0