Solved

FTP Will strip all trailing blanks (continued)

Posted on 2001-09-04
9
1,474 Views
Last Modified: 2008-02-01
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
0
Comment
Question by:theo kouwenhoven
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 2

Accepted Solution

by:
olidel earned 50 total points
ID: 6457820
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
 
LVL 16

Author Comment

by:theo kouwenhoven
ID: 6459882
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
 
LVL 3

Expert Comment

by:P_S_Price
ID: 6460520
Murphey,

Try CPYTOIMPF and then FTP the IMPF using Binary
0
 
LVL 16

Author Comment

by:theo kouwenhoven
ID: 6461010
CPYTIIMPF is not in V41....



0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 3

Expert Comment

by:P_S_Price
ID: 6463406
You are right, sorry try CPYTOPCD
0
 
LVL 1

Expert Comment

by:speedguns
ID: 6715748
Have we tried issueing the Binary command in FTP prior to doing the Get or Put?
0
 
LVL 3

Expert Comment

by:P_S_Price
ID: 6717180
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
 
LVL 1

Expert Comment

by:speedguns
ID: 6721030
Price,  Sorry,  I didn't follow the link to the other qustion.  
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6890897
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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now