Chinaunix
标题:
tftp不能下载上传文件?
[打印本页]
作者:
叁万英尺
时间:
2010-10-26 22:16
标题:
tftp不能下载上传文件?
刚装好的tftp,试了下,却不能上传和下载文件,高手帮助下
root@jinhao-laptop:/home/jinhao# /etc/init.d/xinetd restart
* Stopping internet superserver xinetd [ OK ]
* Starting internet superserver xinetd [ OK ]
root@jinhao-laptop:/home/jinhao# tftp 10.16.30.202
tftp> put hello.c
Error code 1: File not found
tftp> get hello1.c
Error code 1: File not found
tftp>
注:在/home/jinhao下有hello.c这个文件
服务器目录/tftpboot下也有hello1.c这个文件。
作者:
叁万英尺
时间:
2010-10-26 22:56
又发现了一个奇怪的问题
tftp> get hello1.c
Error code 1: File not found但是在/home/jinhao目录下确实多了一个hello1.c文件
但是tftp> put hello.c
Error code 1: File not found还是没有上传,(我的/tftpboot目录的权限是777)。
作者:
wzypunk
时间:
2010-10-27 12:55
man 一下,看看是否参数允许创建新文件,不然默认只能覆盖文件
作者:
Yuri.G.
时间:
2010-10-27 13:07
你能看到tftpd的日志么?
作者:
叁万英尺
时间:
2010-10-27 18:30
回复
4#
Yuri.G.
不知道怎么看?
作者:
叁万英尺
时间:
2010-10-27 18:33
今天重新登录可以上传和下载了,我想是装完后要重启吧
jinhao@jinhao-laptop:~$ sudo tftp 10.16.30.202
tftp> get hello1.c
tftp> put hello.c
tftp>
作者:
gradkid
时间:
2010-10-28 18:25
有可能你的文件不是unix识别的,
你在自己的目录下面能cat 么?
作者:
叁万英尺
时间:
2010-11-20 13:20
回复
7#
gradkid
ubuntu系统,能cat
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2