FTP behaving erraneous way

Hi Gurus,

I tried FTP one file to UNIX which got values like

wel^come

If I see the content in unix, it shows like

wel^Zcome

^ coverted into ^Z (Control + Z )
Can someone please share what is happening here?

Thanks,
Shahnaz

Are you transmitting BIN?

What is the OS on both sides of the transmission?

No, I am tranmitting clear text.

Soruce OS is z/os and destination is AIX 5.2

Thanks,
Shahnaz.

---------- Post updated 08-05-09 at 01:32 PM ---------- Previous update was 08-04-09 at 05:54 PM ----------

Any updates Guru's?

Let me know if any more information required.

Thanks,
Shahnaz.

The file may be in a different codeset.

Thanks.

What does that "codeset" does major role in this context? Can you please elaborate the same with some example?

Thanks,
Shahnaz.

Can you run the same command on each server to see whether the underlying characters are the same or whether FTP has changed them.

Pick example lines from the output from this sed command (which is designed to show non-printing characters in an unabmiguous manner).

sed -n l filename