Why does per Net-FTP incorrectly translate text files to NVT when using ASCII transfer mode?

Solution Verified - Updated -

Issue

  • Transferring a unix text file via ftp with the perl Net:FTP module in ASCII mode leads to incorrect data in the transferred file when the source file contains 2 or more consecutive blank lines due to an incorrect transformation of source data from unix text format to the Network Virtual Terminal (NVT) data format.

Environment

  • Red Hat Enterprise Linux 6.6
  • perl-5.10.1-136.el6_6.1.x86_64

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