LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-28-2003, 05:50 AM   #1
webamoeba
LQ Newbie
 
Registered: Nov 2003
Posts: 18

Rep: Reputation: 0
.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.
 
Old 11-28-2003, 06:08 AM   #2
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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.
 
Old 11-28-2003, 06:39 AM   #3
webamoeba
LQ Newbie
 
Registered: Nov 2003
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple console question. Moving files. The_Messiah Linux - Newbie 3 08-17-2005 11:51 PM
Simple console question. Moving files. The_Messiah Linux - General 1 08-17-2005 08:51 PM
Receiving files via TFTP wswartz Linux - Software 8 09-20-2004 03:44 PM
accessing files & directories - a really simple question hildog Linux - Newbie 6 10-12-2003 06:17 PM
simple question - can you move header and lib files from one box to another without a dewcansam Linux - Newbie 3 11-06-2001 05:35 PM


All times are GMT -5. The time now is 10:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration