Question:
What are the differences between telnet & ftp?
2008-01-29 20:37:34 UTC
What are the differences between telnet & ftp?
Six answers:
CaptAnil
2008-01-29 20:59:49 UTC
telnet

telnet allows you to contact another computer and use it remotely.



To telnet, you need to:



# have an account



# a valid password on the host computer



To open a telnet connection, just type:



telnet hostname



where hostname is the IP number of the host.



# enter your username and your password when prompted.



# type lo or exit to terminate your telnet session.



Important: for security reasons, it is not possible to telnet to the VisLab computers.

You must use safe login alternatives such as Secure Shell (SSH).



For more info on security, check the SDSC security web page.



ssh

ssh stands for secure shell.



Just use ssh the same way than telnet:



ssh hostname



where hostname is the IP number of the host.



If you connect for the first time to a computer, you will be asked:



Host key not found from the list of known hosts.

Are you sure you want to continue connecting (yes/no)?



# answer yes.



# type lo or exit to terminate your telnet session.



ftp

ftp stands for file transport protocol.



As its name indicates, ftp allows you to move files from one computer to another.



Just type:



ftp hostname



where hostname is the IP number of the host.



# enter your username and your password when prompted.



The system will display a ftp> prompt.



# type bin to make sure you will transfer in binary mode.



To change directories on the host computer (if required), type:



cd directory



To change directories on the local computer (if required), type:



lcd directory



To transfer a file from the host computer to your computer, use get:



get file



or for multiple files:



mget file1 file2



To transfer a file from your computer to the host computer, use put:



put file



or for multiple files:



mput file1 file2



# type quit to terminate your ftp session.



Tip: when you are transfering several file, you will be ask for confirmation. To turn off the promp, type prom.
jamiecd77
2008-01-29 20:57:58 UTC
I think we all now understand that ftp is for file transfers...



Now what you don't know about telnet is how we used to use it!



Back in the old days, when sysops trusted their users...you could dial into your local bbs, and use telnet to jump to another system! If you could find enough open systems, and knew the addresses, you could jump ten or more times before your mom picked up the phone and cut off your connection.



It was fun, it was like getting away with something...you know how in the movies, the FBI has to "track" a transmission through all the different servers or whatever, in ten different countries? Well, with Telnet, you could actually do that, and this was way before graphical browsers, and most people didn't have a clue as to what the internet was, so you actually had to LOOK for the information you wanted.



yes, basically the answer is "telnet allows you top run a remote session"



but it was so much more....



I feel old, I'm going to go play atari and have a jolt
hit
2008-01-29 20:51:57 UTC
hi minakshi!

u might be knowing about logging onto a remote computer from some other machine.

telnet allows u to login to some other computer with the help of a menu system by means of a guest account.

And ftp stands for File Transfer Protocol

which allows us to send or retrieve files from a file hosting server

The above two are pretty old and useful features and were invented around the same time that the internet came into being.
mahesh kanse
2008-01-29 20:44:15 UTC
Telnet is used for remote login and working on remote machine, while ftp i.e. File Transfer Protocol is used for just file transfer. You can copy from ftp server just like from folder on your machine. And also copy files from your machine to remote.
nike
2008-01-30 11:31:57 UTC
Telnet & ftp used server or clint.main difference telnet use text mode(black mode) and ftp use batch mode(gui mode).
NYCTAXIMAN
2008-01-29 20:43:25 UTC
Telnet allows you to have a remote session on a device.

FTP allows you to tranfer files from one location to another. Both are part of the TCP/IP protocol.



Good Luck Mate!


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...