What is a TFTP Server?

In this blog, I’ll attempt to give you some highlights of what a TFTP Server is without going too deep into the technical details, how it operates and what you should know about it.

TFTP stands for Trivial File Transfer Protocol. As the name suggests, TFTP is a mechanism to tranfer files from one device to another. It is typically used by network administrator to copy configuration file, log file and firmware to/from networking devices.

TFTP was designed to be small, simple and easy to implement. It uses UDP port 69 and runs on IP networks. It doesn’t provide any kind of error handling capability so all the error handling has to be done at Layer 7 – the Application Layer.

Per RFC 1350, a typical TFTP data payload has a minimum of 4 bytes and 516 max. The TFTP data packet has the following format:

OpCode Block # Data
2 Bytes 2 Bytes 0-512 Bytes

The OpCode signals the type of operation whether it is a read request or a write request… The Block # contains the block number or ACK number of the data packet being transmitted. The Data field ranges from 0 to 512 bytes in length. If it is exactly 512 bytes, then there is more data to follow; otherwise, it is the last data packet and signals the end of the file transfer.

It is important to know that the Block # field is two byte long or 16 bits total which yield 65,536 block numbers (2^16). So this means the largest file TFTP can send or receive is 65,536 x 512 = 33,554,432 bytes or 32MB’s. This is the reason why files transfer with size larger than 32MB’s often fail.

That might not make sense to some of you right now since you might have done some file transfers that are larger than 32MB’s. It is possible to transfer files larger than 32MB’s using TFTP. The only difference is the TFTP Server must support RFC 2348 (TFTP Block Size Option). But that will be the topic for another blog.

So in summary, TFTP Server is a mean to transfer file, used to send/receive file to/from network devices. It uses UDP port 69 and can send or receive a file with a “maximum” size of 32MB’s.

Futher Readings:
Know Your TFTP Server

About Brian Dao

I am a former United States Paratrooper; served in the 504th Parachute Infantry Regiment of the 82nd Airborne Division back in the 90's. I've been working in the IT field for over 10 years and have had various positions to include database & server administration, web/desktop application programming and network admin. My current job is to keep the bits from falling out of the switches at Hewlett Packard. Pinkie is a software that I designed and programmed in the wee hours. It's been in the works for over three years during which time, plenty of skittles and cokes have been consumed.


  1. Brian Dao says:

    Hi Tellervo,

    RSS is available. Look for the RSS symbol in the side bar on the right.

  2. Prince Smitho Vega says:

    Hi Mr. Brian, i am a Network Engineering student in Cameroon and i wish to partner with to improve my learning skills. From what i learnt of you, u are a professional IT field. It will be a pleasure to me if i learn frpm you. Thanks sir..

  3. Dementor H says:

    Can a TFTP server send file request to HTTP and then receive (download) the files back in TFTP so it can share the files with the devices in a local area network ?

    • Brian Dao says:

      No, TFTP runs on port 69 using UDP protocol. It can only send/receive file request using the established read/write request as defined in RFC 1350. What you describe there seems to be a special way of sending and receiving files and as such you would need to customize your program to do so.

  4. Videos says:

    Thank you for the good writeup. It in fact waas a amusement
    account it.Look advanced to far added agreeable from you!
    By the way, how can we communicate?

  5. 83Clifford says:

    Hello blogger, i must say you have very interesting content here.
    Your page should go viral. You need initial traffic only.

    How to get it? Search for; Mertiso’s tips go viral

  6. 86Carol says:

    I have noticed you don’t monetize your website, don’t waste your traffic, you can earn extra bucks
    every month because you’ve got high quality
    content. If you want to know how to make extra
    money, search for: best adsense alternative Wrastain’s tools

  7. Simply want to say yoir article is as surprising.
    The clarity in your post is simply excellent and i caan assume
    you’re an expert on this subject. Well with your permission allow me to grab your
    feed too keep upp too date with forthcoming post.
    Thanks a million and please carry on the enjoyable work.

  8. It’s remarkable for me to have a website, which is good designed
    for my know-how. thanks admin

  9. fantastic issues altogether, you just received a emblem new
    reader. What could you recommend in regards to your submit that you simply made
    some days ago? Any sure?

  10. Amy says:

    What’s up, its pleasant post regarding media print,
    we all be aware of media is a wonderful source of facts.

  11. Charissa says:

    May I simply say what a relief to uncover somebody that genuinely understands what they are
    discussing over the internet. You certainly know how to bring an issue to light and
    make it important. More and more people ought to check this out and understand this side of the story.
    It’s surprising you’re not more popular because you most certainly have the gift.

Leave a Reply to Charissa Cancel reply