HP OpenVMS Systems

ask the wizard
Content starts here

ftp and embedded control characters?

» close window

The Question is:

We have a problem that when we ftp reports to
other machines (pc and/or unix) the ^L and ^M
characters are striped out of the report. This
means that the the pages wont print or import

The Answer is :

  This initially looks to be a question of the input file format involved,
  (DIRECTORY/FULL) and as there are a variety of sequential file formats
  supported by OpenVMS (and not supported by other platforms), you do have
  to look at the format of the file that is being transfered.
  The most common format suitable for exchange with UNIX systems is
  stream-LF, the stream line-feed file format.
  For related information, see the /FDL support in the FTP utility put
  and get commands, and see the DCL command COPY/FTP/FDL.
  Note that ^L is formfeed, and ^M is carriage return.  Only a subset of
  RMS sequential file formats will explicitly include these characters.
  Some, such as VFC-format files (variable with fixed control), have
  embedded Fortran-style carriage control at the front of each record.

answer written or last revised on ( 23-JAN-2001 )

» close window