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 🙂 🙂

Read More Articles !

Share this Article:

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+

45 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

  2. Iván says:

    Thank you very much, I’m taking a cisco course and I missed the class where the teacher taught the class how to do this.. But now I’m good to go 🙂

  3. aladdin says:

    thanks siru
    very nice explanation , nice job 🙂

  4. smit prajapati says:

    thanks sir,very helpful information.

  5. Locke says:

    Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you!

    I was banging my head over this all morning until I came across your well-explained article.

    Thank you, SiRu.

  6. 2n2222 says:

    Thanks, this is the only place I found, how to setup TFTP64 by Ph.Jounin

  7. Asad says:

    It’s a awesome tutorial.. thanks for this..

  8. Saurabh says:

    after booting machine in Ghost windows it is showing local IP 127.0.0.1. Can you suggest how can client machine can get proper IP address, than we can push the image.

  9. Mohamed firoze says:

    Bro…very thanks….. actually people like you are an asset…….!

  10. Abdullah says:

    Hi,

    I’m highly impressed with this detailed steps of setting up a TFTP Server.

    Thanks very much for the good work.

    Cheers!!

  11. Juan Olivier says:

    Hello.

    I have followed all the steps up to where I have to restart the program. But After I open it up again all the setting have rested to the default setting. And I made sure I pressed the ‘OK’ button after setting the settings.

  12. Olaf Bloch says:

    Hi SiRu,
    your instructions about configuring a ftp-server are great. I did it like you describe and it works.
    Great !
    Thank you very much.

    regards
    Olaf

  13. hd tv deals says:

    Thanks for finally writing about > Guide: How to setup
    a TFTP Server using tftpd32 in Windows – Tricks Guide < Liked it!

  14. Hari, says:

    Hi Siru,
    Very nice explanation. I tried to set up TFTP using tftpd64 and have partial success and facing issues.
    I configured only TFTP server. it works properly in the same system by running the command

    tftp -i 192.168.1.100 get test.txt (This works properly in the same system where tftp server is running)

    But if failed when i run above command in different machine which is connected to the same network.

    Error i am getting in client location is
    Timeout occured. connect request failed.

    In the server logs….
    I see the request is coming but it failing the send the bytes to the caller.

    I have opened port 69 in server. But it didn’t help me.

    Please direct me & help me what could be probably reasons for trouble shooting.

    Thank You,
    Hari

  15. sowjanya says:

    Thank you so much for explaining. I have one question,Will this tool send ACK packets back, when a WRQ/RRQ packet is received?

  16. Gina says:

    You have not shown how to transfer the file. Where is it going to? How to set the destination ip address for doing tftp?

  17. Mahdi says:

    Hi, thank you for the excellent explanation. However, i cant access my file, saved in the dir, from a web browser on another device on the same LAN, like my taplet? could you please, explain why and how to solve that.

  18. Peter says:

    Great piece. u ve done well.

  19. Fred says:

    Very helpful. Thanks a million!

  20. Hyman says:

    Thanks for this article , you made my day.

    God bless you.

  21. partha says:

    dear sir , i have a tplink tlmr 3020 router , recenty i flashed with openwrt.
    after this i cannot access the router with lan cable from browser with
    192 .168.0.1 ..in my pc i have xp 32 bit with amd procssor.i cannot fix it
    . kindly help me i m from kolkata . i found many solution in net and become
    very puzzle. please help me and give your suggesion to my mail address.

  22. alex says:

    thanks this was very helpful!!

  23. William says:

    Thanks Siru
    Got a switch upgraded within 10mins of reading your article

  24. SlashT says:

    I think you should probably take a look at Serva; it is today a much more powerful and reliable option than Tftpd32.
    It is not only a TFTP server but also a complete automated PXE server able to install Windows and Linux OSs in a matter of minutes.
    http://www.vercot.com/~serva/an/WindowsPXE1.html

  25. Emmanuel says:

    As usual your articles are always helpful. Thanks Bossy

  26. CBO-Engineer says:

    Well explained, also Amy makes reference to you as a good explanation on her page.
    You probably do not know that you are getting famous! haha…

    Big ups!

  27. Sanjay Maity says:

    Dear Siru,

    I have DHCP server . i have two DHCP Scope 1. 192.168.1.0 2. 10.2.2.0 . I put ip 10.2.2.50

    for TFTP in scope option but TFTP take only 192.168.1.12 that is server interface address

    please suggest…………..

  28. Sanjay Maity says:

    192.168.1.0 other 10.2.2.0

  29. mohamed says:

    thank you siru

  30. Alex says:

    Thank you so much Sir!
    Wonderful explained.
    So useful for me.

  31. mark says:

    I found that changes couldn’t be made to the configuration in windows unless I ran tftpd64 as administrator. Without running as admin I would apply changes, close the application and re-open it to find the same settings as before.

  32. Ruben says:

    Hi could you please tell me,
    How i can setup a DHCP server using tftpd32 in Windows please.
    Thanks for your time.

  33. Awak Awai says:

    Hi,
    Can I navigate other folder rather than root folder so that I can utilize other files without copy ing those file to root folder?
    Thanks.

  34. SEPTY says:

    really really a good details and steps one by one ?
    thanks for you hard ans good job.

  35. cruyffcb says:

    bonjour et merci pour l’explication. mais s.v.p. si je veux envoyer un fichier sur mon récepteur . à qu’elle endroit je doit mettre l’adresse ip de mon récepteur merci mil fois

  36. ZOBAIR says:

    bonjour il met impossible de changé l’adresse ip en haut de la page ni à l’endroit ou je veux transféré mon dossier

  37. hanieh says:

    hi.
    Appreciate your simple setup. but I couldn’t open Tftp://ip from the other client in my subnet.
    how to test connection

  38. Mads N. Nielsen says:

    Hello SiRu

    Is there any way of putting a timestamp into the destination file name ??

Leave a Comment:

© 2017 Tricks Guide. All rights reserved.