FTP Will strip all trailing blanks (continued)

During FTP from AS/400 to PC all trailing blanks are striped
(see also question http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=as400&qid=20174347)

For the most of our systems the problem is solved but one of the systems is still running V4R1 and..... that is not supporting the FTP LOCSITE command.

So if anybody have any sugestion.....

Regards,

Murphey
LVL 17
MurpheyApplication ConsultantAsked:
Who is Participating?
 
olidelConnect With a Mentor Commented:
Hi,

   I don't think that there is many solutions with OS/400 V4R1 in such a case. You will have to add an end character at the end of each record so you won't lose the trailing blanks but of course you have to write all programs accordingly. Maybe. the best solution is to upgrade this AS/400.

I know it doesn't help a lot but...

Bye.
0
 
MurpheyApplication ConsultantAuthor Commented:
Thanks Olidel,

Upgrading is unfortunately impossible. I have already thought about an extra end character, but that needs a lot of programming on both sites.

On this moment I send it to one of the other AS/400's and let it send for me but that ia an inferior solution.

Regards
0
 
P_S_PriceCommented:
Murphey,

Try CPYTOIMPF and then FTP the IMPF using Binary
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
MurpheyApplication ConsultantAuthor Commented:
CPYTIIMPF is not in V41....



0
 
P_S_PriceCommented:
You are right, sorry try CPYTOPCD
0
 
speedgunsCommented:
Have we tried issueing the Binary command in FTP prior to doing the Get or Put?
0
 
P_S_PriceCommented:
Speed guns, See the earlier question. The problem with BInary to a PC is that unless you preonvert the file to ASCII it becomes unreadable after the Put/Get hence my CPYTOPCD suggestion which does actually create an ASCII file.
0
 
speedgunsCommented:
Price,  Sorry,  I didn't follow the link to the other qustion.  
0
 
MoondancerCommented:
Help requested, reponses provided and still open today.  Please return to your open questions and update/finalize them.

EXPERTS PLEASE HELP ME DECIDE THE FAIR OUTCOME FOR THIS QUESTION, if it remains open another seven (7) days, since we will need to finalize it.

Thank you,
Moondancer - EE Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.