>> turns out that there are control and escape characters and carriage
>> returns in the middle of the records (bad data). When it is sent to the
>> HP9000, FTP assumes that these characters are the end of the records,
>> causing problems on the 9000. Any way around this? FCOPY to tape isn't
...
>Suggest you use a binary transfer, then use 9000 utiliting like sed to clean
>up or restructure the file.
I have also found the Unix command "fold" useful when transferring record
oriented files with binary ftp. It inserts line breaks at given intervals but
might probably get "confused" if the raw file already contains LF characters.
So it might be useful to "sanitize" the "bad bytes" using the "tr" command
to translate them to something more reasonable first (tr "\012" "x" <a >b).
Lars.