Link to home
Start Free TrialLog in
Avatar of robfromroswell
robfromroswell

asked on

FTP from AS400 to PC adds extra characters

When I ftp (in ASCII mode) a 256 byte file from the AS400 to a PC  I end up with a 258 byte file on the PC.  Using the "bin" command makes the file unreadable by the PC software that's trying to process it.  How can I get rid of the two extra characters?
Avatar of SRohit
SRohit

Hi robfromroswell,

OS400 and PC should be running the same name format when you transfer the file from one to the other.

On the PC side the Dos FTP command is

'Quote site namefmt 1'

on as400 u can just give

'namefmt 1' only.

I think this will solve your problem

Regards

Rohit

Avatar of robfromroswell

ASKER

I entered the namefmt command on the AS/400 side per your suggestion, but I am still getting a 258 byte file.  
ASKER CERTIFIED SOLUTION
Avatar of robfromroswell
robfromroswell

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 Shalom Carmel
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ/Refund

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

ShalomC
EE Cleanup Volunteer