Can you describe more about the scenario? What is the terminal.exe? Is it your own written script or you got it from our design example?
If you are using remote system upgrade and have it connected to NIOS II and managed to have it programmed. By right it shouldn't have any problem.