Difference between TELNET and FTP

Web ServicesComputer NetworkInternet

In context of networking both TELNET and FTP are the application layer protocols and are used to establish a connection between remote user and host at remote location. Also it is possible that both of these protocols can be used in a collaborated way, to transparently login to the host server.

Following are some basic differences between both TELNET and FTP.

Sr. No.KeyTELNETFTP
1DefinitionTELNET is an abbreviation Telecommunication Network and is simply a connection protocol that allows a user to connect to a remote server that is listening for commands. Once the connection is established, the user can then issue commands to the server computer, and examine the responses that are sent back.On other hand FTP stands for File Transfer Protocol and its primarily concern is to facilitate the transfer of files from one point to another, along with a few management capabilities like making and deleting directories.
2Port Number UsedIn general TELNET uses 23 port for its command operations.While in case of FTP port numbers 20 and 21 can be used to establish connection and perform file transfer operations.
3Number of connectionsDue to single operated port TELNET can establish only one connection.On other hand as FTP has two ports available so FTP establish two connections, one is for control command and another is for data transfer.
4Remote LoginIn case of TELNET remote login is mandatory as issue commands could be run only after login.On other hand remote login is not mandatory in case of FTP.
5Test CasesIn System Testing since it is performed by group of testers, it would contain more negative test cases.On other hand Acceptance Testing contains more of positive test cases.
6InputsAll the possible dummy inputs are used in System Testing.On other hand in acceptance testing all the possible random inputs are used.
raja
Published on 13-Jan-2020 05:33:00
Advertisements