Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
421 views
in Technique[技术] by (71.8m points)

ubuntu - tftp options put option doesn't upload the file

I am using tftp to upload a file to a tftp server on my pc using the ubuntu subsystem on windows 10.

When I type a command like this:

tftp -m binary 192.168.1.166 -c put someFileName

It doesn't upload the file. Instead the tftp prompt is invoked. And I have to type binary, connect, put under the tftp prompts. Much more typing.

Just wonder if anyone else has run into this issue.

question from:https://stackoverflow.com/questions/65862508/tftp-options-put-option-doesnt-upload-the-file

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I installed tftp-hpa client in the ubuntu subsystem and now the -m -c options get recognized and I can do an upload in one command line.

Below is the link I followed to install the new tftp client: https://linuxhint.com/install_tftp_server_ubuntu/

Thanks to NotTheDr01ds. Your comment got me thinking...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...