免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: luckyzhang
打印 上一主题 下一主题

[FTP] 【求助】为什么我的tftp只能下载,不能上传呢? [复制链接]

论坛徽章:
0
11 [报告]
发表于 2003-10-30 11:33 |只看该作者

【求助】为什么我的tftp只能下载,不能上传呢?

rpm -qa | grep ftp
你用的吗?把结果传上来,
我去试试你的tftp

论坛徽章:
0
12 [报告]
发表于 2003-10-30 11:41 |只看该作者

【求助】为什么我的tftp只能下载,不能上传呢?

tftp>; [root@linux tmp]# tftp
tftp>; connect 166.111.62.88
tftp>; get aaa
Error code 1: File not found
tftp>; put bbb
Error code 1: File not found
tftp>;
我连下载都不行!

论坛徽章:
0
13 [报告]
发表于 2003-10-30 11:46 |只看该作者

【求助】为什么我的tftp只能下载,不能上传呢?

[root@kydl16 /]# rpm -qa | grep ftp
tftp-server-0.17-3mlx
gftp-2.0.11-2
ftp-0.17-13
anonftp-4.0-9
ncftp-3.1.3-3
wu-ftpd-2.6.2-5
我是内网ip,估计你应该是访问不了我的tftp的。

论坛徽章:
0
14 [报告]
发表于 2003-10-30 11:50 |只看该作者

【求助】为什么我的tftp只能下载,不能上传呢?

wu-ftpd-2.6.2-5
你的已经装了wu-ftpd啦,用这个就行了
晕,我在自己的机子上做的,结果你看见了,连下载都不行哦,怎么回事,你看看

论坛徽章:
0
15 [报告]
发表于 2003-10-30 14:35 |只看该作者

【求助】为什么我的tftp只能下载,不能上传呢?

呵呵,tftp这个东西终于弄懂了一点点了。
只能上传 tftproot里面 权限为 可写 的 文件
所以,必须是tftp服务器端的tftproot目录下先 touch 你想上传的文件名(由服务器端的人设置),设置权限为 666,或者别的可写的。接着远程的方可上传,而且可以多次上传所修改后的文件。
而且只能一个一个文件传,文件夹无法上传
下载也必须是 单独一个文件一个文件的 get。整个文件夹的下载方法是什么?有人知道么?

论坛徽章:
0
16 [报告]
发表于 2003-10-30 15:55 |只看该作者

【求助】为什么我的tftp只能下载,不能上传呢?

tftp>; [root@linux tmp]# tftp
tftp>; connect 166.111.62.88
tftp>; get aaa
Error code 1: File not found
tftp>; put bbb
Error code 1: File not found
tftp>;
我连下载都不行!


老大:我的怎么下载都不行呢?

论坛徽章:
0
17 [报告]
发表于 2003-10-30 16:00 |只看该作者

【求助】为什么我的tftp只能下载,不能上传呢?

[root@linux root]# ls /tftproot/                                               
aaa  bb                                                                        
[root@linux root]# ls                                                         
aaa  anaconda-ks.cfg  install.log  install.log.syslog  Last  [root@tu062088   
[root@linux root]# cat aaa                                                     
dfkdfls:                                                                       
[root@linux root]# tftp                                                        
tftp>; connect 166.111.62.88                                                   
tftp>; get bb                                                                  
Error code 1: File not found                                                   
tftp>; put aaa                                                                  
Error code 1: File not found                                                   
tftp>;                                      

请看这个

论坛徽章:
0
18 [报告]
发表于 2003-10-30 16:03 |只看该作者

【求助】为什么我的tftp只能下载,不能上传呢?

你是按照我说的配至方法配的么??

我就是那样配的

你看看是不是哪里错了?还有 配好后

重起 xinetd 服务
service xinetd restart
应该没问题的.

论坛徽章:
0
19 [报告]
发表于 2003-10-30 16:14 |只看该作者

【求助】为什么我的tftp只能下载,不能上传呢?

[root@linux root]# cat /etc/xinetd.d/tftp                                      
# default: off                                                                 
# description: The tftp server serves files using the trivial file transfer \  
#       protocol.  The tftp protocol is often used to boot diskless \         
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.      
service tftp                                                                  
{                                                                              
        disable = no                                                           
        socket_type             = dgram                                       
        protocol                = udp                                          
        wait                    = yes                                          
        user                    = root                                         
        server                  = /usr/sbin/in.tftpd                           
        server_args             = -s /tftpboot                                 
        per_source              = 11                                          
        cps                     = 100 2                                       
        flags                   = IPv4                                         
}                                                                              
[root@linux root]#

论坛徽章:
0
20 [报告]
发表于 2003-10-30 16:16 |只看该作者

【求助】为什么我的tftp只能下载,不能上传呢?

[root@linux root]# service xinetd restart                                      
Stopping xinetd:                                           [  OK  ]            
Starting xinetd:                                           [  OK  ]            
[root@linux root]# tftp                                                        
tftp>; connect 166.111.62.88                                                   
tftp>; get bb                                                                  
Error code 1: File not found                                                   
tftp>; put aaa                                                                  
Error code 1: File not found                                                   
tftp>;
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP