|
![]() | 作者: tosy [tosy0070]
![]() |
登录 |
CString temp; CString temp1; temp="User Anonymous\r\n"; send(sockFD,temp,temp.GetLength( ),0); Sleep(1); temp1="Pass Anonymous@ftp\r\n"; send(sockFD,temp1,temp1.GetLength( ),0); recv(sockFD,buff1,sizeof(buff1),0); m_List.InsertItem(5,buff1); 目的是想让匿名登陆上FTP服务器,然后接收返回信息,显示出来,可是老是登陆不成功,返回错误信息,请问应该怎么样构造发送的数据,先谢谢先 |
地主 发表时间: 05-05-14 23:58 |
![]() | 回复: NetDemon [netdemon] ![]() |
登录 |
什么错误信息? |
B1层 发表时间: 05-05-15 10:44 |
![]() | 回复: xiaoshi [xiaoshi] ![]() |
登录 |
你可以看看 也许有点帮助
http://bbs.ctips.com.cn/cgi-bin/topic.cgi?forum=28&topic=185062&show=0 |
B2层 发表时间: 05-05-18 23:09 |
![]() | 回复: wxngzybb [wxngzybb] ![]() |
登录 |
回应请求型的协议东应该在一个send之后紧接着接受 这适用于大多数应用层协议 |
B3层 发表时间: 05-05-20 14:36 |
|
20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon
粤ICP备05087286号