Differences Between FTP and TFTP

1. FTP & TFTP
FTP(File Transfer Protocol) is a network protocol used to transfer files from one computer to another over a TCP network. Like Telnet, it uses a client-network arhitecture, which means that a user has to have an FTP client installed to access an FTP server running on the remote machine. After establishing an FTP connection, the user can download or upload files to and from the FTP server.
 
FTP uses two TCP ports: port 20 for sending data and port 21 for sending control commands.

FTP can use authentication, but like Telnet, all data is sent in clear text, including usernames and passwords.


TFTP (Trivial File Protocol) is a network protocol used to transfer files between remote machines. It is a simple version of FTP, lacking some of the more advanced features FTP offers, but requiring less resources than FTP.
 
Because of it’s simplicity TFTP can be used only to send and receive files. It uses UDP port 69 for communication.
Because of it’s disadvantages TFTP is not widely used today, but it’s used to save and restore a router configuration or to backup an IOS image.
 
TFTP doesn’t support user authentication and sends all data in clear text.

Ref to http://study-ccna.com/ftp-tftp/

2. FTP vs TFTP
File Transfer Protocol (also known as FTP) is a network protocol which is implemented in order to exchange files over a TCP/IP network – that is the Transmission Control Protocol and the Internet Protocol. FTP uses password authentication created by the user. Even though user-based password authentication is usually implemented, anonymous user access is also available through an FTP server.

Trivial File Transfer Protocol (also known as TFTP) is a network protocol which is implemented in order to transfer files as well. It was first defined in 1980, with the functionality of a simple FTP server. Because of its simplicity, it can be implemented with very little memory waste on the part of its home computer. As such, at its inception, TFTP was used to boot computers or routers. That being said, it is also useful for transferring small amounts of data between networks (i.e. IP phone firmware).

As mentioned, FTP is accessible anonymously. This means that the user may login to this server with an ‘anonymous’ account when given a prompt for a username and password. In most cases, a user without a direct account with the host computer will be prompted to use his or her email address in lieu of a password; however, there is virtually no verification process that takes place once that information is supplied (such as at the National Centre for Biotechnology Information).

TFTP is used mainly to transfer files from (or write them to) a remote server. Because it is an open protocol, there is a shortage of security – meaning it is very dangerous to transfer files over an open server across the internet. As such, TFTP is usually only used on private and/or local networks. Unfortunately, there is no authentication process, thus no encryption mechanism, put in place. As a result of its simplicity, TFTP can only transfer files as big as a terabyte, and allows oversized data packets to transfer – which could cause huge delays in file transmission.

Unlike TFTP, FTP servers have an authentication and encryption protocol in place. Where such access is restricted, a remote FTP (FTP mail) service can be implemented in order to get around the problem of restriction. This allows access, but restricts the user from viewing directories or modifying commands.

Summary:
1). FTP is a user-based password network protocol used to transfer data across a network; TFTP is a network protocol that does not have any authentication processes.
2). FTP may be accessed anonymously, but the amount of information transferred is limited; TFTP has no encryption process in place, and can only successfully transfer files that are not larger than one terabyte.

Read more: Difference Between FTP and TFTP | Difference Between | FTP vs TFTP http://www.differencebetween.net/technology/internet/difference-between-ftp-and-tftp/#ixzz495DPuHtr

Ref to http://www.differencebetween.net/technology/internet/difference-between-ftp-and-tftp/

3. The differences between the two protocols are explained below:
    FTP is a complete, session-oriented, general purpose file transfer protocol. TFTP is used as a bare-bones special purpose file transfer protocol.
    FTP can be used interactively. TFTP allows only unidirectional transfer of files.
    FTP depends on TCP, is connection oriented, and provides reliable control. TFTP depends on UDP, requires less overhead, and provides virtually no control.
    FTP provides user authentication. TFTP does not.
    FTP uses well-known TCP port numbers: 20 for data and 21 for connection dialog. TFTP uses UDP port number 69 for its file transfer activity.
    The Windows NT FTP server service does not support TFTP because TFTP does not support authentication.
    Windows 95 and TCP/IP-32 for Windows for Workgroups do not include a TFTP client program

Ref to https://support.microsoft.com/en-us/kb/102737


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值