From owner-freebsd-questions Thu Mar 18 14:22:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (Postfix) with ESMTP id 36D7E14E4E for ; Thu, 18 Mar 1999 14:22:23 -0800 (PST) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.9.3/8.9.3/Kp) with ESMTP id WAA06162; Thu, 18 Mar 1999 22:19:30 GMT Message-ID: <36F17BF2.1319F9A2@tdx.co.uk> Date: Thu, 18 Mar 1999 22:19:30 +0000 From: Karl Pielorz Organization: TDX - The Digital eXchange X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Greg Black Cc: Oscar Bonilla , freebsd-questions@FreeBSD.ORG Subject: Re: tar damaged (not related to FreeBSD :) References: <19990318094245.A43680@fisicc-ufm.edu> <19990318210301.15314.qmail@alpha.comkey.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Black wrote: > > > does anyone know of any tricks to repair a file damaged by an ASCII ftp > > transfer? > > > > [...] > > > > is there any way to reconstruct the files? > > No. You'll have to use your backups. Isn't this similar to when Netscape's browser downloads a binary file in 'text' mode? - If it is, you can get utilities (e.g. 'winuncook') which "fix" the file again... Maybe it is possible? - Or at least worth looking at :-) - You could probably setup a small 'test.tgz' and deliberately put it through the ASCII ftp to see if you can put it back together again at the other side? Infact, I just did it here! - I copied a Windows NT executable into a .tgz, sent it through an ASCII transfer, tried unzipping it (it fails), run it through Winuncook, try unzipping it - it works, then run the original .EXE and it worked... :-) - so it would seem possible... -Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message