How to setup a TFTP Server using tftpd32 in Windows

     

I wanted to update firmware of a HP Blade Switch and was in a need to setup a TFTP server. TFTP is mainly used for file transfers between devices on UDP Port 69. I use Microsoft Windows based laptop and wanted to setup this TFTP server in my laptop itself. I was successful at the end :) .  In this article, let me explain how to setup a very simple TFTP Server without breaking your head.TFTPI used a small program called TFTPD64 (also called as TFTPD32). This tiny program will help you to setup a TFTP server in minutes. To download TFTPD64 program, go ahead and open this link. Scroll down the page and find the latest version of TFTPD64 available to you (I used v4.00 7 March 2011).

I am using Windows 7 64 bit in my laptop and I downloaded TFTPD64 standard edition(zip) from above link. You can also use TFTPD32 from same link. It does not matter whether you use TFTPD32 or TFTP64. If you need direct link to TFTP64.ZIP file, you can click here.

TFTP32-or-64-bit-Download

Once you download this ZIP file (tftpd64 standard edition (zip) (526 KB)), please unzip/extract to a folder of your choice. Here, I extracted all the files to C:\TFTP folder in my laptop.

Copy TFTP64 ServerGo ahead and double click on tftpd64.exe file. It will open TFTPD64 program (Check screenshot). Once the program is open, click on Settings button.

TFTP64 Main Window

The TFTPD64 settings window will open as shown below.

TFTP64 Properties window

Put a check mark only to TFTP Server option. Remove checkmark from all other options.

TFTP Server Option selected

Note: Be very careful with the DHCP option because if you keep this option checked, then your laptop can act like a DHCP Server in your network. So be careful with the options that you select.

Click on TFTP tab, the window will look as shown below.

SNAGHTML31703d7

Click on Browse button to specify Base Directory. You need to specify the Base Directory of the TFTP Server. You can select any folder in your laptop as the Base Directory. Remember that all the files transferred using TFTP Server will be placed in this folder.

TFTP Server Base Directory

I selected the same TFTP folder (C:\TFTP) as my Base directory. Once you select the folder of your choice, click on OK button.

SNAGHTML3334da3

Under TFTP Security, select the option None (you can also use Standard).TFTP Security None

Under Advanced TFTP Options, select Option negotiation, Show Progress bar, Translate Unix file names and Allow “\” as virtual root (check screenshot to understand better)

TFTP32 Advance Options

Here comes a very important step. Now we are going to bind an IP address to the TFTP Server. To set the IP address for TFTP server, please select the option Bind TFTP to this address then select the IP address available for you. I select 10.250.89.1 here as it was the only option available to me. You may get a different IP address, please use the IP address available in the drop down window. Do not break your head, we just an IP address here :)

Bind IP address to TFTP Server

Once you have performed all the above said steps, Click on OK. Now you will receive a window asking to restart TFTPD64 to apply the new settings. Click on OK and close all TFTP windows which were open in your laptop.

SNAGHTML31a69e9

Re-open TFTPD64 now. Once the program open, just ensure that you selected same IP address for Server Interface. Please remember that the TFTP64 application should be running when any TFTP related job is done. If you close this application, TFTP server will be terminated.

TFTP Server Interface

Voila, I just setup a TFTP Server here. Now when I use the address tftp://10.250.89.1, I am referring to C:\TFTP folder in my laptop. Moreover, if you copy a file in C:\TFTP folder, it is accessible by typing the above address. For example, If I keep a Word document file with name SiRu.docx in C:\TFTP folder, the path will be tftp://10.250.89.1/SiRu.docx (never type the folder name C:\TFTP in TFTP path).

You can also find whether anyone is accessing the TFTP Server. When someone copy any file from TFTP server, a tiny file copy window will show statistics and progress bar.

SNAGHTML3312c0f

If you wish to find You can also click on Log Viewer and see the logs there.

SNAGHTML331eea2


There are many TFTP programs available for Windows. I just used TFTPD64 program and really liked it. You may use any TFTP Server program of your choice. Thank you for reading :) :)

Share this Article:

You May Also Like:

Stay Connected with Us:

Subscribe via Email


Founder and Owner of Tricks Guide. SiRu is a Server Support Specialist, Tech Blogger and a Typical Family Man. If you’d like to connect with him, follow him on Twitter | Facebook | Google+

2 Responses to “How to setup a TFTP Server using tftpd32 in Windows”

  1. Rajiv says:

    Very nicely explained the setup of tftpd64. Appreciate your taking time to do this. Very useful for people like me who need to use it

    Thanks,
    Rajiv

Leave a Comment:

Notify me of followup comments via e-mail.

© 2012 Tricks Guide. All rights reserved.