Skip Menu |
 

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 35643
Status: open
Priority: 0/
Queue: libnet

People
Owner: Nobody in particular
Requestors: Gary.Burchett [...] sas.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.22
Fixed in: (no value)



Download (untitled) / with headers
text/plain 870b
empty (blank) lines in ASCII files sent from Linux to z/OS (MVS) in text mode are converted to x'25' values. The target file is an FB 80 file. The correct translation would be to convert the empty lines in the ASCII files to a blank line on z/OS. If the following was in an ASCII file: This is the first line The next line will be converted to x'25' on MVS This is the last line, but it will end up starting with x'25' on MVS. I can work around this problem by sending the file through: sed - e 's/^$/ /' This converts empty lines to lines with 1 space. The ASCII to EBCDIC conversion will work correctly with the target of recfm F files. I have not tested to see what would happen to recfm V files. I do know that the standard ftp client on Linux performs the conversion correctly. I am running perl v5.8.8 built for X86_64-linux-thread-multi. Thank you.
Subject: Re: [rt.cpan.org #35643]
Date: Mon, 5 May 2008 15:21:29 -0500
To: bug-libnet [...] rt.cpan.org
From: Graham Barr <gbarr [...] pobox.com>
Download (untitled) / with headers
text/plain 163b
You do not say what version you are running. Please check to ensure you are running the latest version from CPAN http://search.cpan.org/~gbarr/libnet/ Graham.
Subject: RE: [rt.cpan.org #35643]
Date: Mon, 5 May 2008 16:31:22 -0400
To: "bug-libnet [...] rt.cpan.org" <bug-libnet [...] rt.cpan.org>
From: Gary Burchett <Gary.Burchett [...] sas.com>
Download (untitled) / with headers
text/plain 1.2k
Is this not the version information you wanted? This corresponds to libnet-1.22.tar.gz I believe. This is the information I entered with the bug, but not in the text describing the bug. Severity: Important Broken in: 1.22 Fixed in: (no value) Additionally from perl -MCPAN -e shell: Module id = Net::FTP DESCRIPTION Interface to File Transfer Protocol CPAN_USERID GBARR (Graham Barr <gbarr@pobox.com>) CPAN_VERSION 2.77 CPAN_FILE G/GB/GBARR/libnet-1.22.tar.gz UPLOAD_DATE 2007-08-26 DSLIP_STATUS adpf? (alpha,developer,perl,functions,) MANPAGE Net::FTP - FTP Client class INST_FILE /usr/lib/perl5/5.8.8/Net/FTP.pm INST_VERSION 2.77 The function/method it occurs in is when doing a "put". Gary Burchett SAS Institute Inc. 919-531-6995 (office) 919-805-0802 (cell) Show quoted text
-----Original Message----- From: Graham Barr via RT [mailto:bug-libnet@rt.cpan.org] Sent: Monday, May 05, 2008 4:22 PM To: Gary Burchett Subject: Re: [rt.cpan.org #35643] <URL: http://rt.cpan.org/Ticket/Display.html?id=35643 > You do not say what version you are running. Please check to ensure you are running the latest version from CPAN http://search.cpan.org/~gbarr/libnet/ Graham.
Subject: Re: [rt.cpan.org #35643]
Date: Mon, 5 May 2008 15:42:26 -0500
To: bug-libnet [...] rt.cpan.org
From: Graham Barr <gbarr [...] pobox.com>
Download (untitled) / with headers
text/plain 629b
On May 5, 2008, at 3:31 PM, Gary Burchett via RT wrote: Show quoted text
> > Queue: libnet > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=35643 > > > Is this not the version information you wanted? This corresponds to > libnet-1.22.tar.gz I believe. This is the information I entered > with the bug, but not in the text describing the bug. > > Severity: Important > Broken in: 1.22 > Fixed in: (no value)
Well when you read tickets via email that is not sent. Please do a run with $ftp->debug(1); and send the version output. There was a bug like this before, but the latest release should have that fixed. Graham.
Subject: RE: [rt.cpan.org #35643]
Date: Mon, 5 May 2008 16:57:29 -0400
To: "bug-libnet [...] rt.cpan.org" <bug-libnet [...] rt.cpan.org>
From: Gary Burchett <Gary.Burchett [...] sas.com>
Download (untitled) / with headers
text/plain 3.4k
First, I want to thank you for the Net::FTP code. It really helped me complete a task that requiring interactive sending and receiving of files between UNIX and MVS. Now here is the data you requested. Here is the output when adding the ->debug(1) immediately before the put. If you need it done earlier, let me know. I have included screen data from SPF showing the resulting file. The original file was: Show quoted text
---- first line of file is below --- AAAA ZZZZ
---- last line of file is above ---- The middle line only contains the linefeed character. = 437 => ./testftp.pl SASGXB is logged on. Working directory is "SASGXB.". Net::FTP>>> Net::FTP(2.77) Net::FTP>>> Exporter(5.58) Net::FTP>>> Net::Cmd(2.29) Net::FTP>>> IO::Socket::INET(1.31) Net::FTP>>> IO::Socket(1.30) Net::FTP>>> IO::Handle(1.27) Net::FTP=GLOB(0xb09480)>>> ALLO 11 Net::FTP=GLOB(0xb09480)<<< 202 ALLO not necessary, you may proceed Net::FTP=GLOB(0xb09480)>>> PASV Net::FTP=GLOB(0xb09480)<<< 227 Entering Passive Mode (10,19,9,43,12,136) Net::FTP=GLOB(0xb09480)>>> STOR A.CNTL($SIDTEST) Net::FTP=GLOB(0xb09480)<<< 125 Storing data set SASGXB.A.CNTL($SIDTEST) Net::FTP=GLOB(0xb09480)<<< 250 Transfer completed successfully. Storing data set SASGXB.A.CNTL($SIDTEST) Transfer completed successfully. Net::FTP=GLOB(0xb09480)>>> QUIT Net::FTP=GLOB(0xb09480)<<< 221 Quit command received. Goodbye. Gary Burchett SAS Institute Inc. 919-531-6995 (office) 919-805-0802 (cell) SPF screen data: File Edit Edit_Settings Menu Utilities Compilers Test Help ------------------------------------------------------------------------------- VIEW SASGXB.A.CNTL($SIDTEST) - 01.00 Columns 00001 00072 Command ===> Scroll ===> CSR ****** ***************************** Top of Data ****************************** ==MSG> -CAUTION- Data contains invalid (non-display) characters. Use command ==MSG> ===> FIND P'.' to position cursor to these 000001 AAAA CCCC44444444444444444444444444444444444444444444444444444444444444444444 111100000000000000000000000000000000000000000000000000000000000000000000 ------------------------------------------------------------------------------ 000002 ZZZZ 2EEEE4444444444444444444444444444444444444444444444444444444444444444444 599990000000000000000000000000000000000000000000000000000000000000000000 ------------------------------------------------------------------------------ ****** **************************** Bottom of Data ****************************
-----Original Message----- From: Graham Barr via RT [mailto:bug-libnet@rt.cpan.org] Sent: Monday, May 05, 2008 4:43 PM To: Gary Burchett Subject: Re: [rt.cpan.org #35643] <URL: http://rt.cpan.org/Ticket/Display.html?id=35643 > On May 5, 2008, at 3:31 PM, Gary Burchett via RT wrote:
> > Queue: libnet > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=35643 > > > Is this not the version information you wanted? This corresponds to > libnet-1.22.tar.gz I believe. This is the information I entered > with the bug, but not in the text describing the bug. > > Severity: Important > Broken in: 1.22 > Fixed in: (no value)
Well when you read tickets via email that is not sent. Please do a run with $ftp->debug(1); and send the version output. There was a bug like this before, but the latest release should have that fixed. Graham.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.