RHEL: How to transfer a file from a Mainframe or AIX system using the Record Structure mode?

Solution Verified - Updated -

Issue

  • Some x390 or AIX files are record-oriented and not file-oriented (which is the default).
  • Current vsftp version does not have the Record structure support, while it is specified in RFC 959 (FTP RFC).
  • When using STRU R the following error is displayed:

    ftp> stru R
    We only support file structure
    

Environment

  • Red Hat Enterprise Linux (RHEL)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content