Hi,
Does anyone encounter the problem of ftp redirection in AIX5.2 ?
I have a simple script like this:
===========================================
....
ftp -i -n ip-address > OUT_FILENAME << EOF
username password
ls -Rol
bye
EOF
......
===========================================
It works find before 5.2 (Tested in AIX4.3.3 and AIX5.1). But in
AIX5.2, nothing in OUT_FILENAME ....
Although
===========================================
....
ftp -i -n ip-address << EOF
username password
ls -Rol OUT_FILENAME
bye
EOF
......
===========================================
can generate an OUT_FILENAME in local, but it is not the right
solution I want. Because I want other ftp messages can be redirected
to one single file.
Any recommendation or suggestion? Tks.
(hmmm... copy /usr/bin/ftp from 4.3.3 or 5.1 to 5.2 may work, but..)
Does anyone encounter the problem of ftp redirection in AIX5.2 ?
I have a simple script like this:
===========================================
....
ftp -i -n ip-address > OUT_FILENAME << EOF
username password
ls -Rol
bye
EOF
......
===========================================
It works find before 5.2 (Tested in AIX4.3.3 and AIX5.1). But in
AIX5.2, nothing in OUT_FILENAME ....
Although
===========================================
....
ftp -i -n ip-address << EOF
username password
ls -Rol OUT_FILENAME
bye
EOF
......
===========================================
can generate an OUT_FILENAME in local, but it is not the right
solution I want. Because I want other ftp messages can be redirected
to one single file.
Any recommendation or suggestion? Tks.
(hmmm... copy /usr/bin/ftp from 4.3.3 or 5.1 to 5.2 may work, but..)