|Subject:||WIN to MAINFRAME ftp bug|
|Date:||Fri, 25 Sep 2009 09:18:10 -0400|
|To:||bug-libnet [...] rt.cpan.org|
|From:||Bruce Lis <BLis [...] Jefferies.com>|
Please advise on the following issue I have problem running NET:FTP on win32/ windows xp platform with perl v 5.8, using Eclipse 220.127.116.11. The ftp works only for 301 LRECL records that are ftp'd to mainframe OS/390. Starting from 302 bytes mainframe data set has spaces. Please advise my $ARGS="quote SITE RECFM=FB LRECL=302 BLKSIZE=27784 CYL PRI=10 SEC=1"; my $ftp=Net::FTP->new($MAINFRAME,Timeout=>1800,Debug=>1); $ftp->login($MVSUSER,$MVSPASS); $ftp->ascii; ftp->pasv(); $ftp->site($ARGS); $ftp->put($DATAFILE,"'USER.TEST'"); $ftp->quit; Last space (to the right) in position 392 of USER.TEST data set is space. It's space for all records in the file. This is a value of '0' on the local file residing on PC that ftp'd to mainframe 392 | 000000000000110375AQ5 Regards, Bruce Lis Global Operations Technology work. 201-761-7645 Jefferies archives and monitors outgoing and incoming e-mail. The contents of this email, including any attachments, are confidential to the ordinary user of the email address to which it was addressed. If you are not the addressee of this email you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. This email may be produced at the request of regulators or in connection with civil litigation. Jefferies accepts no liability for any errors or omissions arising as a result of transmission. Use by other than intended recipients is prohibited. In the United Kingdom, Jefferies operates as Jefferies International Limited; registered in England: no. 1978621; registered office: Vintners Place, 68 Upper Thames Street, London EC4V 3BJ. Jefferies International Limited is authorised and regulated by the Financial Services Authority.