09-01-2001
ftp question
You can also use the "-i" option on the
command line and you woun't get prompted...
ftp -i some_host
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
After reading so many posts in this section, I'm convinced there are no other dummies here but me. You guys are light years ahead.
I have a great understanding of the Windows environment, but lost right now in some things pertaining to Unix. See, I'm a recent convert and put my website up on a... (2 Replies)
Discussion started by: Keith
2 Replies
2. UNIX for Advanced & Expert Users
what do you record or look for when using these dummy files to test I/O throughput on disk drives. i have no clue and reading from books sure aint helping much.
i know all about the creation and every other thing there is to it but when it comes to actual testing, how do i use them
this is... (4 Replies)
Discussion started by: TRUEST
4 Replies
3. UNIX for Dummies Questions & Answers
i need to learn unix real quick and i have completely no idea how. could anyone please tell me how to get material to get me going??? I am IT oriented.
PLEASE ANY ONE???????????????? :confused: (3 Replies)
Discussion started by: quarmenna
3 Replies
4. Shell Programming and Scripting
This drive me nut, any can show me how to do it ??
str1='Case Modify 10001 20002 30003 40004|Report Create 3417176211|Case Modify 10002 20002 30003 40004'
and str2='Case Modify 10001'
if str1 ~ str2
then str1='Report Create 3417176211|Case Modify 10002 20002 30003 40004'
Thanks, (8 Replies)
Discussion started by: sabercats
8 Replies
5. UNIX for Dummies Questions & Answers
NOT IN USE, IGNORE (8 Replies)
Discussion started by: slayer666
8 Replies
6. UNIX for Dummies Questions & Answers
okay so I just started this unix class and understood all the test questions but this "normal" question threy me through a loop :confused:. The question is Why are UNIX commands noninteractive and why is their output not usually preceededby header information? This question has been driving me... (2 Replies)
Discussion started by: cinnamonbear
2 Replies
7. UNIX for Dummies Questions & Answers
Hi there;
I am really new in unix. I need some help regarding use of grep command.
I need to write a shell script which takes a C++ program and counts the
number of words which could be a valid C++ variable name.
I wrote a regular expression to find c++ variable names:
^*
but... (3 Replies)
Discussion started by: mkosucu
3 Replies
8. UNIX for Dummies Questions & Answers
I am trying to use 'cut' to get a line from my file. But it seems that 'cut' recongnizes TAB as default. My file uses space instead. So 'cut' doesn't work.
Anybody can tell me how to change the default from TAB to space ? Or how to transform a space-delimited file into tab-delimited file??... (2 Replies)
Discussion started by: kaixinsjtu
2 Replies
9. Shell Programming and Scripting
Hi everyone!! i need some help to do the next exercice, if some one can help-me!
Perform a script to swap two lines of a file. The name of
file as the two line numbers are passed as a parameter. It should be
verify that the file exists, have the necessary permits and lines.
i try... (3 Replies)
Discussion started by: freixo
3 Replies
10. UNIX for Beginners Questions & Answers
Where can I get UNIX? (1 Reply)
Discussion started by: ciao303
1 Replies
tftp(1c) tftp(1c)
Name
tftp - trivial file transfer program
Syntax
tftp [host] [port]
Description
The command provides the user interface to the Internet standard Trivial File Transfer Protocol. The program allows a user to transfer
files to and from a remote network site. The remote host can be specified on the command line. If you specify the remote host on the com-
mand line uses host as the default host for future transfers.
If a port is specified, uses that port number instead of the standard service port. When the user invokes the program enters its command
interpreter and awaits instructions. The prompt tftp> is displayed on the screen.
The following commands are recognized by
? Displays a help message that gives a brief summary of the commands.
ascii Specifies mode ascii.
binary Specifies mode binary.
connect host-name [ port ]
Sets the host and, optionally, sets port for transfers. Note that the TFTP protocol does not maintain connections
between transfers. Because merely remembers what host should be used for transfers instead of actually creating a con-
nection, it is not necessary to use the command. The remote host can be specified as part of the or commands.
get remote-file... [ local-file ]
Gets a file or set of files from the specified sources. If the host has already been specified, the source can be in
the form of a filename on the remote host. If the host has not been specified, the source can be a string of the form
host:file, specifying both a host and filename at the same time. If the latter form is used, the last hostname entered
becomes the default for future transfers.
mode Sets the file transfer type to network ASCII or binary. The default type is network ASCII.
put local-file... [ remote-file/directory ]
Puts a file or set of files to the specified remote file or directory. If the remote host has already been specified,
the destination can be a filename on it. If the remote host has not been specified, the destination can be a string of
the form host:filename, specifying both a host and filename at the same time. If the latter form is used, the last
hostname entered becomes the default for future transfers. If the remote-directory form is used, the remote host is
assumed to be a UNIX machine.
quit Exits the program.
rexmt Sets the retransmit timer.
status Shows what believes to be the current connection status.
timeout Set the transaction timeout.
trace Sets the packet trace flag.
verbose Sets the verbose mode flag.
Restrictions
Since the TFTP protocol does not support any authentication, files must be world read (writable) on the remote system.
Because there is no user-login validation within the TFTP protocol, the remote site should have some sort of file access restrictions in
place. The exact methods are specific to each site.
tftp(1c)