Solved

FTP Will strip all trailing blanks (continued)

Posted on 2001-09-04
9
1,481 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 16

Author Comment

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



0
 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
After-hours service is a fact of life for most MSPs. While not the most pleasant aspect of the job, there are ways to make after-hours servicing a more profitable and organized enterprise.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

685 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