XANSYS Message: 20590 [Go back to message list]
[bookmark on del.icio.us]
No rating yet
Rate item:

Subject: Re: BINARY/ASCII db-file trouble
Author: Mark Flanagan
Date: 2001-01-29 14:04:00

Won't work - the FTP in ASCII mode looks for CR/LF combinations which
represent end-of-line on PC's and strip out the CR, to translate it to a
bare LF, which is end-of file on UNIXen. The problem comes when you
transfer binary (i.e. 8-bit data, rather than 7-bit ASCII) data in ASCII
mode. The FTP program looks for the byte combinations 0D0A (which is a
CR/LF pair in hex notation), and strips off the 0D. Unfortunately, this is
part of your data - you can't go back and replace it after the fact, as
there is no guarantee that every 0A in your file previously had a 0D in
front of it that was removed. The only way to fix this is to go back and
re-transfer the file in binary mode. (ASCII mode FTP should be disabled by
default!)

-Mark Flanagan
Senior Analyst
Dynamic Engineering, Inc.
757 873 1344 x-387

-----Original Message-----
Sent: Monday, January 29, 2001 1:30 PM
To: xansys

quick fix,

Try uploading the file in ASCII mode back to any Unix box.
then download it using binary mode

~Todd
----- Original Message -----
To: "XANSYS (E-Mail)"
Sent: Monday, January 29, 2001 11:37 AM

> This is not an ANSYS problem, but hopefully ANSYS gives a solution.

> We have trasnsferred a ANSYS Database using the ascii mode in ftp. Does
> anybody know how to recover the rest of the Database in ANSYS?

> Thanks in adwance.

> Rene Fiege
> Jos. L. Meyer GmbH


Posts possibly associated with message #20590AuthorDateScore
20577BINARY/ASCII db-file troubleRene Fiege2001/01/29 
20578Re: BINARY/ASCII db-file troubleTom Davis2001/01/29 
20579Re: BINARY/ASCII db-file troubleDave Lindeman2001/01/29 
20580Re: BINARY/ASCII db-file troubleDavid Cormie2001/01/29 
20581Re: BINARY/ASCII db-file troubleMartin Liddle2001/01/29 
20583Re: BINARY/ASCII db-file troubleChristopher Wright1991/01/29 
20584Re: BINARY/ASCII db-file troubleTodd Stuart Nichols ToddNichols@2001/01/29 
20590Re: BINARY/ASCII db-file troubleMark Flanagan2001/01/29 
20608Re: BINARY/ASCII db-file troubleRene Fiege2001/01/30