tftp batch mode within bash script

view story

http://www.unix.com – Hi, I put the necessary tftp commands into a batch file and I can run tftp by $ tftp < tftpbatchscript in bash command line and then successfully exit. Now, I want to put a line which does the same thing above. However, when I put this line into a bash script, the lines below this line do not work. Could you help me about this problem? Thank you. (HowTos)