Yes we use to transfer a file in ascii mode.

What is in FTP protocol that should be changed to eliminate carriage
control at the end.

For example

The file suppose to be 100 bytes.  It is 100 bytes in AS400 environment.

Then this file gets transferred from AS400 to LINUX

The result of this file is 101 bytes, which is causing a problem down
the stream....especially in SORT step.  
 
If you look at the file in HEX, it shows an extra byte 0D at the end
carriage control.
 
Does anything specific suppose to be CHANGED or ADD in FTP server for
LINUX?
 
File system for LINUX ???
 
 
One more thing.  When the FTP is done from AS400 to UNIX it is fine.

I appreciated in advance your input.

SPASIBO

Zina


-----Original Message-----
From: Alexander V. Lukyanov [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 08, 2008 12:35 AM
To: Pinkhasov, Zina
Cc: [email protected]
Subject: Re: ftp in as400

On Wed, May 07, 2008 at 04:14:14PM -0400, Pinkhasov, Zina wrote:
> Can you give me an explanation why FTP transfer files from AS400 is
> giving me an extra byte at the end?

Have you tried ascii mode transfers? (get -a)

--
   Alexander.

Reply via email to