P
Phil Hibbs
I'm using Net::FTP on ActiveState perl 5.8.0 and I'm having a problem
with line ends.
The source files are MS-style with CR/LF line ends, and I'm FTPing the
file to an MVS mainframe (EBCDIC). The files received at the other end
still have the CR x'0D' character at the end.
I have worked around the problem by making a temp copy of the file and
converting the line ends to Unix-style and then FTPing that file, but
how can I get Net::FTP to behave as though the local platform were
Win32 (which it is)? It's behaving like a Unix FTP client.
Phil Hibbs
http://www.perlmonks.org/index.pl?node=PhilHibbs
with line ends.
The source files are MS-style with CR/LF line ends, and I'm FTPing the
file to an MVS mainframe (EBCDIC). The files received at the other end
still have the CR x'0D' character at the end.
I have worked around the problem by making a temp copy of the file and
converting the line ends to Unix-style and then FTPing that file, but
how can I get Net::FTP to behave as though the local platform were
Win32 (which it is)? It's behaving like a Unix FTP client.
Phil Hibbs
http://www.perlmonks.org/index.pl?node=PhilHibbs