We have some compressed files that I get the error:
uncompress: 0653-059 The input file contains bad data; SIGSEGV signal received.
I realize this was probably caused by FTP'ing the file via ASCII rather than BIN. I tried to fix the file by replacing every instance of 0D0A with a 0D, but it's not working.
Am I correct in thinking that the problem is that transferring in ASCII adds the 0A to 0D's, and that removing those particular 0A's would fix it?
Can anyone explain this for me? Does anyone know how I could fix these corrupted files?
uncompress: 0653-059 The input file contains bad data; SIGSEGV signal received.
I realize this was probably caused by FTP'ing the file via ASCII rather than BIN. I tried to fix the file by replacing every instance of 0D0A with a 0D, but it's not working.
Am I correct in thinking that the problem is that transferring in ASCII adds the 0A to 0D's, and that removing those particular 0A's would fix it?
Can anyone explain this for me? Does anyone know how I could fix these corrupted files?