<div class='quotetop'>QUOTE (mschnell @ Jul 15 2009, 05:00 AM) <{post_snapback}> (index.php?act=findpost&pid=23128)</div>
--- Quote Start ---
I don't understand the "EOF" that is piped. maybe this foirst must be declared somehow to be used with the actual shell that can't be bash in a NIOS device.[/b]
--- Quote End ---
Michael, I don't understand it 100% either, but in my understanding the <<EOF is what splits the script into two parts: the first (before <<EOF) goes to your default shell (bash, in my Ubuntu) and the second part is used as input commands for the ftp client that is started. So, after the EOF, it is the same as you started ftp manually and typed the lines one by one - but that wouldn't be automated, of course.
<div class='quotetop'>QUOTE (mschnell @ Jul 15 2009, 05:00 AM) <{post_snapback}> (index.php?act=findpost&pid=23128)</div>
--- Quote Start ---
If you use the sahs shell as default, yopu need to activate hush in buisibox and add a line[/b]
--- Quote End ---
The script is run in my desktop PC/Ubuntu machine, so it has nothing to do with the uClinux shell. In my Nios box, I use sash as the default shell.
Cheers,
Ricardo.