Why does per Net-FTP incorrectly translate text files to NVT when using ASCII transfer mode?
Issue
- Transferring a
unixtext file viaftpwith theperl Net:FTPmodule inASCIImode 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 fromunixtext 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
