Link to home
Start Free TrialLog in
Avatar of Theo Kouwenhoven
Theo KouwenhovenFlag for Netherlands

asked on

FTP Will strip all trailing blanks (continued)

During FTP from AS/400 to PC all trailing blanks are striped
(see also question https://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
ASKER CERTIFIED SOLUTION
Avatar of olidel
olidel

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Theo Kouwenhoven

ASKER

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
Avatar of Peter Price
Peter Price

Murphey,

Try CPYTOIMPF and then FTP the IMPF using Binary
CPYTIIMPF is not in V41....



You are right, sorry try CPYTOPCD
Have we tried issueing the Binary command in FTP prior to doing the Get or Put?
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.
Price,  Sorry,  I didn't follow the link to the other qustion.  
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