LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   .s files - a very simple question (tftp) (https://www.linuxquestions.org/questions/linux-newbie-8/s-files-a-very-simple-question-tftp-120689/)

webamoeba 11-28-2003 05:50 AM

.s files - a very simple question (tftp)
 
A very simple question

I want to be able to connect to an tftp server and download a specific file. and I want to do this using a .s file (technically will be using imaging scripting in zenworks - but hey)

e.g.

tftp 10.90.90.90 69
get specific.file
quit

doesn't work because it won't pass the last 2 lines 2 tftp. Is there a way to do this????

URGENT!!!!

Thanks.

Demonbane 11-28-2003 06:08 AM

try:

echo "get specific.file" | tftp 10.90..90.90

maybe there's a better way of doing this, dunno.
Btw port 69 is the default so i dont think there's a need to specify it.

webamoeba 11-28-2003 06:39 AM

Thanks

works really well! and your right I don't need 2 specify 69 :)


All times are GMT -5. The time now is 06:35 AM.