Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tftp server能正常工作,tftp client 无法从服务器上读取文件 #85

Open
hbq2024 opened this issue Nov 24, 2021 · 1 comment

Comments

@hbq2024
Copy link

hbq2024 commented Nov 24, 2021

image

image

@yangpengya
Copy link
Contributor

yangpengya commented Jan 12, 2024

把请求数据里的扩展协议删了就可以了,不知道是不是Tftpd32这个软件不支持扩展协议。

/* Packing request packet header */
send_packet->cmd = htons(cmd);
size = rt_sprintf(send_packet->info.filename, "%s%c%s%c", remote_file, 0, xfer->mode, 0) + 2;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants