Operating System - HP-UX
1834456 Members
2648 Online
110067 Solutions
New Discussion

FTP files from AS400 to HP-UX box

 
sdip
Advisor

FTP files from AS400 to HP-UX box

Hi,

Could you please advise what configuration we need to allow user to do FTP from AS400 server to HP-UX box. The file contains double byte characters.

When we tried to ftp the same file contents become junk.

Any advise ?
2 REPLIES 2
Luk Vandenbussche
Honored Contributor

Re: FTP files from AS400 to HP-UX box

Hi,

Have you tried the ftp in binary or ascii mode


ftp> asc
200 Type set to A.
ftp> bin
200 Type set to I.
Arunvijai_4
Honored Contributor

Re: FTP files from AS400 to HP-UX box

You need to transfer the file in ASCII mode.
ftp> ascii
200 Type set to A.
ftp>
Default transfer mode in HP-UX is binary as you can see when you get ftp prompt.
-----
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"