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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.