I have my ftp script as below..
This is logging the messages into ftp.log file ,
But I want the same output(what ever messages are going into ftp.log) to be printed on the console too for the user to show the status.. Tried with "tee" .. unable to get the solution..
Can some one help me in this ..
/usr/bin/ftp -i -v -n 2>&1 1>ftp.log <<!
bin
hash
mget *
bye
close
!
Thanks
Srini