NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TFTP on Win10

Solved!
Go to solution

I am trying to tftp a file to the target as a step in the sequence.

I am using call executable, but when I try putting tftp it says file not found. So I am using cmd.exe and in the parameters putting "/k tftp "  ( and then the tftp parameters) but when the cmd.exe black box comes up it says tftp is not recognized as internal or externa command. 

However is I start a command window, windows start button type cmd, it finds the tftp and I can send the file to my target with no problems. 

I have seen a suggestion to use a 3rd party tftp client, but this is a pain to get past IT and load on the production systems.

How should I be calling the windows tftp function from teststand 2020?

0 Kudos
Message 1 of 4
(1,390 Views)
Solution
Accepted by topic author David_Stevenson

TFTP in Windows is turned on for 64-bit not 32-bit. Are you using 32-bit TestStand? If so, it doesn't work directly. You can indirectly launch the 64-bit cmd.exe through the 32-bit one in TestStand doing this:

 

"/c C:\\Windows\\sysnative\\cmd.exe /c tftp"

 

If you are using 64-bit TestStand you can just use this:

 

"/c tftp"

Message 2 of 4
(1,359 Views)

Thank you, that is exactly what I needed.

I am on 32bit, and your string works for me.

0 Kudos
Message 3 of 4
(1,343 Views)