You can create a script file and use stdin redirection to pipe it into
tftp (or "echo" if it is simple):
> cat myscript
binary
verbose
get myfile
> tftp myhoxt.xyzzy.com < myscript
or, for a simple case
> echo "get myfile" | tftp myhost.xyzzy.com
gvb
At 11:04 AM 12/19/00 -0600, Richard A. Smith wrote:
>On Tue, 19 Dec 2000 11:04:01 +0100, Michael Renzmann wrote:
>
> >> Anyone know of a non-interactive tftp client or code?
> >
> >What do you mean by non-interactive?
>
>No prompts... host, source file, dest-file, port all specified on
>command line.
>
> >Nearly any tftp client program I know of has provides >the
> possibility to define every
>needed >parameter via command line. Which tftp clients did
>
>That's kinda what I thought but when I did a Google search for various
>things involving tftp
>it suprisingly didn't turn up that many clients. Most of the links
>were about tftp being
>embedded in the firmware. The ones I did try.. (Debian and some
>reference code) both want
>you to specify the host and perhaps the port but the actual file has
>to be entered at a
>prompt.
>
>Got any URL's for the ones you speak of?
>
>
>--
>Richard A. Smith Bitworks, Inc.
>[EMAIL PROTECTED] 501.846.5777
>Sr. Design Engineer http://www.bitworks.com
>
>
--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.