11-29-2022 06:15 AM
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?
Solved! Go to Solution.
11-29-2022 04:12 PM
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"
11-30-2022 06:15 AM
Thank you, that is exactly what I needed.
I am on 32bit, and your string works for me.
11-08-2023 07:24 AM
The following links provide an in depth description of this issue:
The 'Sysnative' folder in 64-bit Windows explained (Technical Article) (samlogic.net)