in reply to Net::FTP to Mainframe Z/OS

Odds are that you're transferring a unix-formatted file using a version of Net::FTP that uses chomp.

See this thread that asked the same question: Net::FTP and corrupted uploads

Replies are listed 'Best First'.
Re^2: Net::FTP to Mainframe Z/OS
by jazzycat (Initiate) on Jun 10, 2008 at 18:06 UTC
    It is not UNIX formatted. It is WebFocus code in a text file from Windows. Is there a version of NET FTP that does not use Chomp?