Receiving a Binary file
I have a vendor who is placing a files on a FTP Server in Binary.  I need to retrieve those files and place them into an iSeries database file. Is there away to retrieve the file straight from the FTP Server into the database file using GET that will translate from binary to mixed text and packed values.

Software/Hardware used:
iSeries, RPGIV
ASKED: April 21, 2011  2:32 PM
UPDATED: May 3, 2011  12:58 PM

Answer Wiki:
Hello, Please write to my email address box: (khalifamorin@yahoo.com) My name is Morin, a good looking girl. I became interested in you after going through your profile today and i wish to continue relationship with you which if nature will permit we have a long way to go. I have a special reason of contacting you which i will make known to you, tell you more about myself and also send my pictures to you. I will like you to get back to me through my email address: (khalifamorin@yahoo.com) Morin
Last Wiki Answer Submitted:  May 2, 2011  10:56 pm  by    0 pts.
All Answer Wiki Contributors:    0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

FTP’ing a file in binary just means it was unconverted from whatever character set (ASCII, EBCDIC, …) it was stored in. If it was from another EBCDIC system and laid out to match your file, you can simply issue a binary command before your get.

That is PROBABLY NOT the case.

 7,185 pts.

 

The files are coming from a iSeries but they are being place on a unix system.


 

If the file was FTPed to the Unix box in BINARY mode, and if the file format matches a file format on your system, you should be able to GET the file in BINARY mode into the matching file on your system.

If CCSIDs also match between your system and original system, there should be no problems.

Tom

 108,055 pts.