Thanks a lot for the answers!
As Mark said, there may be valid carriage return/line feed
sequences in the dump data so I would be very hesitant
using a utility like "dos2unix" to strip them out.
You can see if there were carriage return line feeds by
using the "od" command.
od -c pubs2.dmp | grep "\\r \\n" | more
Notice the size of my original dump file on Solaris:
% ls -l pubs2.dmp
-rw-r--r-- 1 nstack sybase 3371008 Oct 6 13:58
After I transfer it to my PC in "ascii" mode the size
increases due to the added CR/LF: C:\Temp>dir pubs2.dmp
Volume in drive C is Drive_C
Volume Serial Number is 70AA-7A9D
Directory of C:\Temp
10/06/2009 01:45 PM 3,376,842 pubs2.dmp
Depending on the FTP program you are using and it's
settings, it may or may not add the CR/LF: ftp> help cr
cr toggle carriage return stripping on ascii