in reply to Serious Problem with Net::FTP and TSO End of Line "Missing"?!

I am not quite sure whether your TSO stands for the same TSO I know. My TSO is related to IBM mainframe. If that's the case, you may want to look into the ebcdic function of Net::FTP.

But even between UNIX and DOS, Net::FTP does not handle new lines as one might expected. That's not really a bug, becaue FTP protocol does require the translation, but it is byte by byte, and does not take care of whether your newline is \r, \r\n, or \n, etc.

Update:

The translation FTP taken care of for you, is the translation between schemas, but not platform specific things. They (IETF) consider it as beyond the scope of FTP.
  • Comment on Re: Serious Problem with Net::FTP and TSO End of Line "Missing"?!

Replies are listed 'Best First'.
Re: Re: Serious Problem with Net::FTP and TSO End of Line "Missing"?!
by Anonymous Monk on Feb 24, 2003 at 08:28 UTC
    Yes you are correct, it is related to IBM Mainframe, I see your point but what can I do to correct the file then?