Tftp exe windows 10

Overview

This page describes how to use the TFTP client on Windows OS. The screenshots on this page are for Windows 10, but the same applies to Windows 11.

You can use the TFTP client on Windows 10. You do not need to bother installing a TFTP client application. However, it is not enabled by default. Follow the steps below to enable the TFTP client on Windows 10.

  1. Open [Windows Features]
  2. TFTP Client checked and enabled
  3. Allow TFTP on Windows Firewall

The screenshots of the following steps are for Windows 10; they are almost the same for Windows 11.

Open [Windows Features]

To enable the TFTP client, do so from the [Windows Features] dialog box. To open [Windows Features], click [Control Panel] -> [Programs] -> [Turn Windows Features on or off].

TFTP Client checked and enabled

On [Windows Features] dialog box, check [TFTP Client] and click [OK] to enable the TFTP client. If prompted for a reboot, reboot the system.

Allow TFTP on Windows Firewall

Firewall conditions must be added for TFTP file transfers with an enabled TFTP client. Click on [Control Panel] -> [System and Security] -> [Windows Defender Firewall].

Click [Allow an app or feature through Windows Defender Firewall].

By clicking on [Change settings], [Allow another app] will become active.

From [Browse], specify the path to TFTP.EXE. TFTP.EXE is located under Windows\System32.

It is OK if [Trivial File Transfer Protocol App] is added to [Allowed apps and features].

If you are using firewall software other than Windows Firewall, please allow TFTP in that firewall software.

Once the TFTP client is enabled, you can transfer files via TFTP using the tftp command on the command prompt. tftp command format can be found in the help. Below is the help for the tftp command.

C:\Users\Gene>tftp

Transfers files to and from a remote computer running the TFTP service.

TFTP [-i] host [GET | PUT] source [destination]

  -i              Specifies binary image transfer mode (also called
                  octet). In binary image mode the file is moved
                  literally, byte by byte. Use this mode when
                  transferring binary files.
  host            Specifies the local or remote host.
  GET             Transfers the file destination on the remote host to
                  the file source on the local host.
  PUT             Transfers the file source on the local host to
                  the file destination on the remote host.
  source          Specifies the file to transfer.
  destination     Specifies where to transfer the file.

For example, to transfer the file “c1841-ipbase-mz.124-12a.bin” with the TFTP server IP address of 192.168.1.111, enter the following command.

C:\Users\gene>tftp -i 192.168.1.111 get c1841-ipbase-mz.124-12a.bin
Transfer successful:  15788240 bytes in 49 second(s)、322208 bytes/s

The downloaded file is stored in the current directory of the command prompt.

Summary

Points

  • TFTP clients can be added from [Windows features].
  • Once the TFTP client is enabled, the tftp command is available at the command prompt.

In most cases, we do not need to install TFTP Client on a Windows computer. This is because the TFTP (Trivial File Transfer Protocol) is a very simple file transfer protocol that has less security (or no security). This makes it unsafe for day-to use except for certain special situations.

TFTP is mostly used to move the backup/restore configurations and transfer the OS/boot images to network devices where the internet or USB drive access is not available. For example, upgrading the OS of CISCO or Fortigate devices can be done only via Telnet or SSH (no web access) by using TFTP.

Though we rarely use it on Windows client OS, installing a TFTP client on Windows 10 or Windows 11 will be helpful to test and confirm that the TFTP server is working well and ready to transfer data over the network.

In this guide, we will install/enable the built-in Windows TFTP client and test whether it can send and receive data through this protocol.

TFTP Client In Windows 10

Installing a TFTP client on a Windows 11 computer is almost identical to Windows 10. The below screenshots are suitable for all Windows clients and Server Operating Systems.

1) Make sure that you have administrative access to enable the feature.

2) Go to the Control panel and click on ‘Programs & Features’.

3) Click on ‘Turn Windows features on or off’ then tick the ‘TFTP Client’ as shown below.

TFTP Client On Windows 11

4) Press OK and wait for the installation to complete.

How to Verify that Windows TFTP Client Installed Successfully?

It is like a telnet client, when the feature has not been installed on a computer, the relevant commands will return an unknown command error.

For example, before installing the TFTP client, if you open a command prompt and type ‘tftp’, it will return the below message.

No Tftp

When it is installed, the same command will give the below output.

Working TFTP

That was a clear indication that the Windows TFTP client is installed on your computer correctly.

How to Check a TFTP Server from Windows 10/11 Client

Let’s assume that the TFTP server setup is done correctly and the network security firewall is accepting incoming and outgoing traffic in the server.

Once we installed the client on Windows PC, we need to allow TFTP traffic in the Windows firewall or third-party firewall/anti-virus solution.

  1. You can altogether disable the Windows firewall to test it.
  2. Allow the TFTP program or port number in the firewall.

How to Completely switch off the Windows Defender Firewall to allow TFTP

5) Visit the control panel, and enable the ‘Large Icons’ view. This will show the all Control panel icons.

6) Click on ‘Windows Defender Firewall’ and open ‘Turn Windows Defender Firewall on or off.’

Turn Windows Defender Firewall Off For TFTP

7) Depending on the connectivity type, you can turn off the Windows firewall. If you are not sure about it, then turn off both (Private and Public network settings). This will entirely turn off the network protection. It is highly recommended to put back the settings once the TFTP test is completed.

Off Windows Firewall

If you are not convinced about switching off the full Windows firewall, then follow the below step to allow particular TFTP traffic only.

How to Enable only TFTP Traffic in Windows Firewall

It can be done in two ways.

  1. Allow the TFTP application
  2. Allow the TFTP protocol.

Enable TFTP Application.

This method depends on which program you are using to connect the TFTP server. In our case, we are using the built-in Windows TFTP client. So, we need to allow the appropriate .exe file through the Windows firewall. If you are using any other third-party tools, you need to call those .exe files as shown below.

8) Go to the same Windows defender firewall settings in Windows 10 or Windows 11. Click on ‘Allow an app or feature….’ Option.

Allow Apps In Firewall

9) Mostly you will not find the TFTP app on this list. Click on the ‘Change Settings’ button at the top right, ‘Allow another app.’

10) Browse the TFTP.exe, which is located under the system32 folder. If you are using any third-party TFTP clients; you need to browse the particular exe file from its location.

Add TFTP Exe In Firewall

11) Click add to give the exception in the Windows. In this way, the Windows defender firewall will allow incoming and outgoing traffic of the TFTP.exe program without any restriction.

Allow TFTP Protocol in Windows 10/11 Firewall

Let’s assume you use multiple tools and programs which use the TFTP protocol. It is not advisable to follow the earlier step and add each program to the firewall. Instead of that, we can add the common TFTP protocol.

TFTP uses TCP port 69. We will simply enable this port for incoming and outgoing traffic.

12) In the usual Windows defender firewall settings page, click on ‘Advanced Settings.’

Advanced Settings

13) In the ‘Inbound Rules’ create a new rule.

Create New Rule

69 TFTP Port

14) Select ‘Port’ and enter 69 as TCP port.

15) Make sure that ‘Allow the connection‘ is selected on the next screen. Also, select all 3 network types.

All 3 Network Typs

16) Give a name to the rule and press OK.

Name Of The Port

17) Make sure it is enabled and listed in ‘Inbound Rules’.

Allowed TFTP Port 69 In Windows Firewall

18) Repeat the same steps in ‘Outbound Rules’

With these above steps, your Windows 10/11 PC is ready to use the TFTP client.

Test Windows TFTP Client on Windows 10/11

Let’s assume that the TFTP server setup is done and files are available at the correct location. Before you download a file from the TFTP server, you must know the right file name with the extension.

In this example, I’m going to download a file called ‘tftp.zip’ from server 192.168.1.244. We use the GET command to download a file.

Type the below command in the command prompt (you must have a working network communication with the server, the ping command is handy to confirm the connectivity)

 Tftp -i [server IP address] GET [file name with the expension] 

The below message indicates that the file transfer is successful. The file will be downloaded at the location where you execute the command. In this case, it is C:\Users\Dinesh folder.

Get TFTP Command

To upload a file using the TFTP client, use the following command. We use the PUT command to upload a file.

 Tftp -i [server IP address] PUT [path of the file with the expension] 

The below command output shows the successful file upload to the server by the Windows TFTP client. The file will be uploaded to the root of the TFTP server. We do not have any option to change the upload location.

Upload By TFTP

As I’m using the Solarwind TFTP server in this example, the above command uploaded the file to this root location.

File Location in Solarwind TFTP

There you go, we learned how to install the built-in TFTP client on Windows 10/11 and how to ensure it works fine by modifying the firewall settings. Also, we showed the simple steps to upload and download a file using the TFTP client.

В данной статье показаны действия, с помощью которых можно включить компонент TFTP Client в операционной системе Windows 10, Windows 8.1 и Windows 7

TFTP (Trivial File Transfer Protocol — простой протокол передачи файлов) используется главным образом для первоначальной загрузки по сети операционных систем бездисковых рабочих станций, для обмена файлами с удаленным компьютером, на котором запущена служба TFTP, а так же для загрузки обновлений и конфигураций сетевых устройств (модемов, маршрутизаторов, систем хранения данных и т.п.). TFTP, в отличие от FTP, не содержит возможностей аутентификации (хотя возможна фильтрация по IP-адресу) и основан на транспортном протоколе UDP.

По умолчанию компонент TFTP Client в операционных системах Windows 10, Windows 8.1 и Windows 7 отключён, но при необходимости можно легко включить его используя любой из способов, которые представлены далее в этой инструкции.

Содержание

  1. Как включить TFTP Client в окне «Компоненты Windows»
  2. Включение TFTP Client в командной строке
  3. Всключение через Windows PowerShell

Как включить TFTP Client в окне «Компоненты Windows»

Чтобы включить компонент TFTP Client, нажмите сочетание клавиш + R, в открывшемся окне Выполнить введите (скопируйте и вставьте) OptionalFeatures и нажмите клавишу Enter↵.

В открывшемся окне «Компоненты Windows» установите флажок компонента TFTP Client и нажмите OK.

Через непродолжительное время Windows применит требуемые изменения и компонент TFTP Client будет включен.

Включение TFTP Client в командной строке

Вы можете включить или отключить компонент TFTP Client в командной строке используя DISM.

Чтобы включить компонент TFTP Client, запустите командную строку от имени администратора и выполните следующую команду:

Dism /online /Enable-Feature /FeatureName:TFTP

Чтобы отключить компонент TFTP Client, запустите командную строку от имени администратора и выполните следующую команду:

Dism /online /Disable-Feature /FeatureName:TFTP

Всключение через Windows PowerShell

Также включить или отключить компонент TFTP Client можно в консоли PowerShell.

Чтобы включить компонент TFTP Client, откройте консоль Windows PowerShell от имени администратора и выполните следующую команду:

Enable-WindowsOptionalFeature –FeatureName «TFTP» -Online

Чтобы отключить компонент TFTP Client, откройте консоль Windows PowerShell от имени администратора и выполните следующую команду:

Disable-WindowsOptionalFeature –FeatureName «TFTP» -Online

После включения компонента TFTP Client можно использовать утилиту tftp.exe для выполнения необходимых задач.

Если компонент TFTP Client отключен, то при вводе команды tftp в консоли командной строки вы увидите сообщение о том что:

«tftp» не является внутренней или внешней

командой, исполняемой программой или пакетным файлом.

Используя рассмотренные выше действия, можно включить или отключить компонент TFTP Client в операционной системе Windows 10, Windows 8.1 и Windows 7

TFTP stands for “Trivial File Transfer Protocol” is a simple and lightweight protocol for transferring files over the network.

TFTP runs on UDP port 69 and does not use any security during the file transfer, thus its really only good for transferring files within your LAN. It is commonly used in the place where security is not important and it has limited features compared to other file transfer protocols (FTP/FTPS/SCP).

Generally, TFTP is used to boot operating systems over the network. CISCO devices also use the TFTP protocol to store configuration files and images and move them to and from switches, routers and firewalls.

It is very useful for electronics circuit boards and microprocessors to download firmware into the chipset and its also used for transferring boot files and updating NVRAM. It does not provide authentication and no command structure like FTP, SFTP and SCP.

TFTP cannot list directory and there is no error recovery like TCP and nor does it allow you to delete or rename files.

TFTP is used for its simplicity as it is specifically designed to read and write files without establishing a connection between the client and the server.

It is very useful for thin clients, terminals and disk-less workstations with no room to install their own operating systems.

TFTP protocol also allows the network clients to automatically obtain the IP address of the TFTP server thus making TFTP not only easy to implement but also provide a better way for file transfers.

However, sending or receiving sensitive files via the TFTP without authentication or encryption is very risky.

In this tutorial, we’ll learn how to setup a TFTP server and a TFTP Client on Windows a system and also learn how to configure your Firewall to allow file transfer between the TFTP server and the TFTP client.

Install TFTP Server Windows

First, you will need to download the SolarWinds TFTP server.

Download: https://www.solarwinds.com/free-tools/free-tftp-server/registration

Once downloaded, extract the downloaded file and double click on the installer to start the installation, you should see the following screen:

TFTP install

Click on the Next button.

You will be redirected to the License agreement page as shown below:

Accept the License agreement and click on the Next button.

You will be asked to provide the location of the TFTP server as shown below:

Click on the Next button to continue with the default location.

You should see the following page:

Click on the Finish button to complete the installation.

After installing the TFTP server, you will need to configure it.

You can follow the below steps to configure the TFTP server:

Configure TFTP Server

1. Open the TFTP Server from the Start Menu as shown below:

2. Click on the File => Configure button as seen in the above Screenshot.

You should see the following screen:

3. As seen in the screenshot above, Select the TFTP Server Root Directory field and provide the TFTP root directory, then click on the Security tab.

You should see the following screen:

4. In the Permitted Transfer Types section, check the box “Send and Receive files” and “Allow All IP address to send/receive Files” and click on the OK button to finish the configuration.

Once you are finished, you can proceed to the next step.

Install TFTP Client

At this point, the TFTP server is installed and configured.

Now, you will need to install a TFTP Client on the Client computer.

You can install the TFTP Client on the client computer by following the below steps:

1. Click on the Start Menu and click on Control Panel.

2. Click on the Programs and Features => Turn Windows features on or off. This will open the Windows Features dialog box.

3. Scroll down until you see the TFTP Client check box and CHECK it as shown below:

4. Click on the OK button to start the installation process of the TFTP client.

This process will take some time to finish the installation. Once you are finished, you can proceed to the next step.

Configuring Firewall to Allow TFTP

Before using the TFTP client, you will need to turn off the Windows Firewall or configure the Firewall to allow the inbound/outbound transfer of files using the TFTP client.

You can follow the below steps to add an exception for the TFTP connections:

1. Go to the Start Menu and open the Control Panel as shown below:

configure firewall

2. Click on the Windows Firewall to open the firewall as shown below:

windows firewall

3. In the left-pane, click on the “Allow an app or feature through Windows Firewall“.

You should see the following page:

Allow an app or feature through Windows Firewall

4. Click on the Allow an app or feature through Windows Firewall at the bottom. You should see the following page:

Allow an app or feature through Windows Firewall

5. Click on the Browse button and specify the TFTP.EXE path and click on the Add button.

You should see the following page:

find path to TFTP.exe

6. You should see that the Trivial File Transfer Protocol App should be highlighted.

7. Now, click on the OK button to finish the process.

At this point, your client computer is configured to allow PUT and GET command against your TFTP server.

Transfer File with TFTP Client

You are now ready to transfer file using the TFTP client.

Go to the TFTP client computer, open the command line interface and run the following command:

tftp

You should see all the options available with tftp command in the following page:

tftp command line example

If you want to send a file to the TFTP server, use the following syntax:

tftp your-tftpserver-ip put location-of-the-file

For example, to send the file named testfile.txt located in Documents directory to the TFTP server run the following command:

tftp 172.31.14.171 put Documents/testfile.txt

Once the file transfers successfully, you should see the following output:

Transfer successful: 73 bytes in 1 second(s), 73 bytes/s

If you want to transfer file from the TFTP server to your local computer, use the following syntax:

tftp your-tftpserver-ip get location-of-the-file

For example, transfer the file named testfile.txt from the TFTP server to your local computer run the following command:

tftp 172.31.14.171 get testfile.txt

Once the file transfers successfully, you should see the following output:

Transfer successful: 73 bytes in 1 second(s), 73 bytes/s

Example Screen:

tftp file transfer success command line

You can also transfer the files over the internet using the Public IP address of the TFTP server – Please remember, there is not encryption or any security when sending over the Internet!

Conclusion

In the above guide, we’ve learned how to install and configure the TFTP server and Client on Windows system.

You can now easily transfer files to and from your TFTP server for FREE.

Please Feel free to ask us any questions below in the comments, we’ll try to answer them immediately!

Network admins use TFTP Servers every day to transfer images, configuration files, firmware, etc. to their networking devices. TFTP is simple on its own and does not need any sophisticated messaging to work. Of course, having no overhead is terrific, but there is a downside; it does not provide any encryption and authentication mechanisms.

Although TFTP has no built-in security, network admins use it for simple and fast file transfers within LANs. And best of all, it can be used for remote connections by hardening its security with the right server/client software.

In this step-by-step tutorial, you’ll learn how to set up and configure TFTP on Windows 10, how TFTP works, and how to set it up on the client and server.

Let’s get started!

What is TFTP?

TFTP (Trivial File Transfer Protocol) is a simple file-transferring mechanism developed as a “lighter” version of FTP. It attempts to over-simplify and downsize the functionality of FTP. Instead of using the full TCP implementation, TFTP relies on the connectionless and simple UDP transport over port 69.

TFTP only allows unidirectional file transferring. It provides zero control and has low overhead. The original idea of creating TFTP was to provide booting for disk-less computers or workstations that didn’t have enough memory or disk. These disk-less workstations usually do not have access to the full TCP/IP stack, so they need to obtain configuration information such as DHCP or BOOTP from another server.

TFTP uses a client/server communication model. As you can see from the message exchange below, the TFTP server sends a block of data and waits for the acknowledgment before sending the next one.

A host sends a Request to Write (WRQ), and the server responds with an Acknowledgment (ACK), so the host sends data. The host can also send a Request to Read (RRQ) then the server sends the data and waits for an acknowledgment.

Today TFTP is commonly used for transferring configuration files and firmware images from and to networking devices. It is also used for network booting by diskless nodes that need booting from the LAN.

TFTP is very easy to implement and use. However, it is not a secure transfer method. It does not provide a login or access control mechanism, so it is more common in LANs.

Advantages of TFTP Servers

Trivial File Transfer Protocol (TFTP) is an effective and simple tool used in numerous network applications. It may lack a few features that are available in FTP and SFTP, but it still has advantages over them.

In this article, we will discuss TFTP’s advantages.

  • Simplicity and Lightweight The best trait of TFTP is simplicity. It has a small code footprint, making it suitable for devices with limited processing ability and environments with fewer resources. Thus, it can be easily implemented on network devices like routers and embedded systems with file transfers with minimum overhead.
  • Fast Transfers for Small Files TFTP is optimized for small file transfers and is best for firmware updates, bootstrapping devices, and configuration files. It transfers files faster due to minimal error handling and protocol negotiations.
  • Low Network Traffic TFTP uses User Datagram Protocol (UDP) instead of Transmission Control Protocol (TCP) for file transfer. UDP minimizes the overhead of setting up and maintaining connections because it is connectionless. This helps minimize network traffic.
  • Read and Write Operations TFTP allows bidirectional data transfer between client and server because it supports both read and write actions. This is useful for updating firmware, network configuration management, and backups.
  • Network Device Configuration TFTP is usually used in network device configuration, e.g., firewalls, routers, and switches. It enables network administrators to manage configuration remotely. It further minimizes the need to access devices physically, and it also simplifies maintaining networks.
  • Bootstrapping and Firmware Updates TFTP is important for bootstrapping processes like network booting of diskless devices. It is also useful in firmware updates that allow users to run the latest version of software with better functions and security.
  • Cross-platform Support TFTP is compatible with various devices and operating systems due to its wide cross-platform support. It is interoperable and accessible to myriad clients and devices.

The key features of TFTP, like Simplicity and Lightweight, fast transfers for Small Files, low network traffic, Read and Write Operations, network device configuration, bootstrapping, firmware updates, and cross-platform support, give it advantages over other transfer protocols.

Preparing your TFTP Environment

A TFTP server is a must-have piece of software in every network admin’s toolkit. Cisco, Huawei, Netgear, and many more network appliances use TFTP for upgrading, backing up, and saving configuration files and firmware.

Fortunately, you can set up and configure a TFTP server on your Windows 10 machine. You’ll need the following post if you’re looking for a TFTP client for Windows 7

SolarWinds Free TFTP Server is lightweight and compatible with Windows 10.

It is a standalone free tool use for fast and easy network file transfers.

SolarWinds Free TFTP Server

SolarWinds Free TFTP Server
Get this FREE Tool

Prerequisites Before We Start

When setting up your TFTP server for the first time, consider the following requirements:

  • Download the Free TFTP Server To start, you’ll need to get the software. Download SolarWinds Free TFTP Server from its official site. The software is 100% free.
  • Have Admin Rights Setting a TFTP server requires an administrator account.
  • Have a Root Folder Ready In the end, the idea of using TFTP is to transfer files. Since you are configuring a TFTP server, you’ll need to have a folder storing all transferable files, such as OS firmware, configuration files, DCHP, etc.
  • Port-forwarding TFTP clients might be able to access the server within the local network area without any issues, so if you don’t need remote file transfers, skip the port forwarding. But if TFTP clients are located across the WAN, they need their traffic to be forwarded to the correct destination. Port Forwarding is a setting in the local router that redirects requests from IP address and port number from WAN to another service on the LAN. To allow TFTP requests from remote TFTP clients into your LAN, you will need to log into the router and forward the UDP port 69 to the IP address of your server.
  • Configuring Port Forwarding This varies from router to router. Generally, most routers have it under Advanced Setup > NAT > Port Forward. Make a new entry on the list as Port (69) > UDP > IP Address (your IP)
  • Allow local firewall rules The local firewall might block TFTP file transfers. To allow the TFTP client to successfully request data to the TFTP server, avoid any firewall that might be blocking the connection. If possible, configure the firewall inbound/outbound rules to allow TFTP traffic. In the same way, make sure that there are no local firewalls or routers with ACLs blocking the TFTP connection.

Setting up a TFTP Server on Windows 10 & 11

So, now you have the TFTP environment ready.

You’ve downloaded the TFTP server software, have admin rights on the server, have the root folder with all files, and made the right configurations on the local router, and you are sure that nothing is blocking your TFTP connection.

Let’s go ahead and install the TFTP server:

  1. Unpack the zip drive downloaded from the SolarWinds TFTP Server and open the executable file. The SolarWinds TFTP Wizard will open, click on “Next”.
    SolarWinds TFTP Server Setup

  2. Click “Browse” to choose a destination location.
    SolarWinds TFTP Server Setup

  3. Once the SolarWinds TFTP Server Setup finishes, click “Finish”.
    SolarWinds TFTP Server Setup

  4. Open the SolarWinds TFTP Server. The console should look something like this…
    SolarWinds TFTP Server Setup

Configuring Security

TFTP is known for its lack of security. It does not have any encryption mechanism and does not support any client/server authentication methods. Without encryption and authentication, a hacker could easily spoof the TFTP server and compromise the authenticity of critical files such as routing configuration and DCHP.

But despite that lack of security, TFTP is still the preferred method for quick and easy file sharing on networking devices. Having no encryption and authentication makes TFTP fast and without much overhead. Still, some TFTP server software can provide some features that guarantee a certain level of security.

For example:

  • Restrict the use of the server to a certain range or single IP addresses.
  • Permit or restrict certain types of file transfers. For example, only send, receive, or both.

To configure IP address restriction and file transfer types in the SolarWinds TFTP server

  1. Go to File > Configure.
  2. Go to the Security tab.
    configure IP address restriction and file transfer types in the SolarWinds TFTP server

  3. By default, SolarWinds TFTP Server will allow all IP addresses to send/receive files. But you may also want to restrict access to the TFTP server to specific IP addresses. If you want to restrict the server to a few networking devices, go ahead and click on “Only allow the following IP addresses to send/receive files,” then click on “Add”.
  4. In the following screen, you can define the IP address or range of addresses. For example, we are restricting access to sending/receiving files to the devices with IP from 192.68.0.100 to 192.168.0.120.
    configure IP address restriction and file transfer types in the SolarWinds TFTP server

  5. In the same Security tab, you can also restrict transfer types. When you restrict IP addresses and transfer types, your security can be dramatically improved. For example, you may only want to allow sending files to a specific router.
    configure IP address restriction and file transfer types in the SolarWinds TFTP server

  6. Click OK.

Binding the Server to Specific IP addresses, Subnet, or interfaces

The tool we’re using also comes with “Server Bindings,” which is another fantastic feature that can improve security.

Server Bindings is similar to restricting IP addresses, except that you can customize this restriction based on your local TFTP server network interfaces.

If your server has more than one interface, you can customize its connectivity based on “source IP” or “subnet.” In other words, you can limit the number of available interfaces that the TFTP server is listening to.

By default, the TFTP server will process the requests from clients received from any network interface

  1. If you want to customize the server’s bindings, for example, allow an entire subnet (from an interface) and allow a single IP on another, go to File > Configure > Server Bindings, and click on “Use custom server binding”.
  2. You also have the option to bind to all addresses in the list that you provided or go through the list in descending order. Once, you finished, click “OK”

Configuring the TFTP Server

First, let’s make sure that the service has started.

Configuring the SolarWinds TFTP Server

If you find the following message: “TFP Server service status: stopped,” try clicking the “Start” button to start the TFTP service in the server application and wait a couple of seconds.

If it goes “stopped” again, try the following.

  1. Go to Windows services. Open the Windows search bar and type “services”. Or type the Win+R keys to open the Run application and type “services.msc”. Make sure to run “services.msc” as an administrator.
  2. Find the service “SolarWinds TFTP Server” and double-click it. Make sure that its Startup Type is “Automatic” and if you see the Service status: Stopped, click the “Start” button.
    Services

  3. If you still see the service “Stopped,” disable any Antivirus or Firewall and test again. One of these applications might be blocking communication through port 69.

Configuring Other Parameters

  1. A useful setting for easier access to the application is to enable “Add TFTP Server to Windows System Tray”.
    Configuring Other Parameters

  2. You can leave Timeout and Retry options, with their default settings unless you are testing the TFTP environment
    1. TFTP timeout: This is the TFTP session timeout in seconds.
    2. Retry: The number of times, the server will retry to transmit a packet when the TFTP client doesn’t respond.
  3. Finally, let’s set up the “TFTP Server Root Directory”. This is the folder where all your files received from other devices will be stored, or where you will store the files that will be sent to other devices.
    1. Go to “Storage” > “Browse”. Choose a new folder or leave the “C:\TFTP-Root” folder created by default.
    2. Click on “Ok”.
      Configuring Other Parameters

Setting up the TFTP Client

The TFTP Client depends on the successful installation and configuration of the TFTP server. The client is probably the one that you will be using the most.

The only task you might need to do with the server is to update the shared files and input/remove some IPs.

When using the TFTP server, don’t forget about the following settings:

  1. The TFTP server service has to be up and the application is running.
  2. Configure the right TFTP folder.
  3. Make sure no Firewall and Antivirus is blocking the application and connection.
  4. If you are file sharing to a remote location, don’t forget about port forwarding.
  5. Make sure all your TFTP clients can reach your TFTP server.

From the TFTP client

Most networking devices already have TFTP enabled. For example, to transfer a Cisco Switch image from the server to the device, you would have to specify the IP address of the TFTP server on the client (Cisco Switch).

As you can see from the screenshot below, this switch does not have any configuration or image filename.

It does have a default address and a TFTP address. So to receive these missing files, you can use the IOS command “copy tftp startup-config [ip address of the TFTP server]”.

IOS command “copy tftp startup-config [ip address of the TFTP server]”

Another example, from a Huawei Switch (screenshot below).

The first line (TFTP get) downloads the files from the TFTP Server (192.168.0.2) to the switch.

The second line (TFTP put) uploads the files from the switch device to the TFTP server.

But networking devices are not the only ones that can run TFTP clients. You can also run the client on a Windows system.

Install TFTP Client on Windows 10

Fortunately, most Windows versions (servers and workstations) come with the TFTP client feature built-in, you only have to enable it.

  1. Go to Windows Start and search for “Control Panel”  then click on “Programs”
    Control Panel

  2. Open Turn Windows features on or off.
    Programs and Features

  3. From the Windows Features list, find the TFTP Client feature and turn it on. Wait for the installation to complete and click “OK”.
    Windows features

TFTP is considered an unsafe protocol, so Windows does not allow it by default. You will have to either turn off the Windows firewall (which is not recommended) or add an exception on the Firewall for the TFTP Client.

Let’s open the Windows Firewall and configure the rules and exceptions to allow TFTP.

  1. Open the Windows Start menu and type “Firewall” > open the “Windows Defender Firewall with Advanced Security,” and run it as an Administrator.
  2. Make sure that the firewall is enabled, and click on “Allow an app or feature through Windows Defender Firewall”.
    Windows Firewall and configuration of the rules and exceptions to allow TFTP

  3. Click on “Change Settings,” then “Allow another app”.
    Windows Firewall and configuration of the rules and exceptions to allow TFTP

  4. Click on “Browse” and find the TFTP.exe from the System32 folder and click on Open. Then click on “Add”.
    Windows Firewall and configuration of the rules and exceptions to allow TFTP

  5. You can now, find the application on the Windows Defender Firewall, enable both Private and Public.
    Windows Firewall and configuration of the rules and exceptions to allow TFTP

Transferring Files with TFTP

Now that you enabled the native TFTP client in Windows, you can use it to transfer files between the TFTP server.

As mentioned before, make sure that the files are present in the root folder and that the client and server can reach each other.

The TFTP client runs through the command line interface. The command syntax is:

tftp [-i] [<Host>] [{get | put}] <Source> [<Destination>] 

Where:

  • – i : Transfer in binary mode [also called octect]. If you don’t specify this parameter, the transfer goes in ASCII mode, which is a regular text file transfer.
  • Host: Specifies the local/remote computer (server).
  • Put: transfers the source file [on the local computer] to the file on the destination [remote computer]. Use this command to send a file.
  • Get: Downloads [transfers] the file from the destination remote computer to the local computer. Use this command to receive a file.
  • Source: Specifies the source file [with the path] to transfer.
  • Destination: specifies the destination file [with the path] to get.

An example of using the TFTP command on Windows 10:

In this example, we will upload a firmware image file [.bin] to the TFTP server [192.168.1.20]. We will use the TFTP client in Windows and transfer the file using binary mode.

  1. Let’s open the Windows command prompt. Open the Windows search and type “cmd,” or press the Win + R > Open the Run and type “cmd”.
  2. Go to the directory where the firmware is stored (or specify the entire path).
  3. Type the command TFTP -i 192.168.1.20 PUT firmware.bin
    command TFTP -i 192.168.1.20 PUT firmware.bin

Final Words

TFTP is a terrific and often misunderstood transferring method. Although it has a bad reputation for its lack of security, it doesn’t have much overhead, making it a reliable, quick, and easy transferring mechanism. You can use it in enclosed LANs or WANs, where speed reigns over security.

Setting up a TFTP server on Windows 10 is straightforward. Just download the SolarWinds Free TFTP Server and configure it, as shown in this tutorial. If your TFTP client is a networking device, it will likely have the TFTP service already enabled. But if you want to transfer files to a Windows 10 workstation, you can enable the TFTP built-in feature.

We hope that this tutorial was informative.

Please comment if you have any questions about the setup and configuration of the TFTP on your Windows 10.

Setup & Configure TFTP On Windows 10 FAQs

What is TFTP?

TFTP stands for Trivial File Transfer Protocol. It is a simple file transfer protocol used for transferring files between devices on a network. It is commonly used in network devices such as routers, switches, and servers.

How do I use TFTP in Windows 10?

To use TFTP in Windows 10, you can use a TFTP client such as SolarWinds TFTP Server or TFTPD32. These programs will allow you to transfer files to and from a device using the TFTP protocol. You can also use the built-in «tftp» command in Command Prompt to transfer files.

Can I use TFTP to transfer files between two Windows 10 computers?

Yes, you can use TFTP to transfer files between two Windows 10 computers by using a TFTP client on both computers. You will need to configure the IP address and directory settings on the TFTP client to ensure that the files are transferred properly.

Is TFTP a secure protocol?

No, TFTP is not a secure protocol as it does not provide any encryption or authentication. It is recommended to use more secure protocols such as SFTP or SCP for transferring sensitive files.

How do I troubleshoot TFTP errors in Windows 10?

To troubleshoot TFTP errors in Windows 10, you can check the TFTP client settings to ensure they are correct. You can also check the firewall settings on the computer to ensure that TFTP traffic is not being blocked. Additionally, you can check the event logs on both computers for any error messages that may indicate the source of the problem.

Are there any alternatives to TFTP for file transfer?

Yes, alternatives to TFTP include FTP (File Transfer Protocol), SFTP (Secure File Transfer Protocol), and SCP (Secure Copy Protocol). These protocols provide more security and advanced features than TFTP.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Очень медленно устанавливается windows 10 с флешки
  • Низкая громкость микрофона windows 10
  • Как сбросить лицензию windows 10
  • Microsoft office под windows 7
  • How to update cmake windows