免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1732 | 回复: 3
打印 上一主题 下一主题

curl 如何下载0k的文件? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-19 19:21 |只看该作者 |倒序浏览
为何无法下载大小是0k的文件呢?我的curl执行后结果如下:

* About to connect() to ftp.abc.com.cn port 8886 (#0)
*   Trying 218.25.176.207... connected
* Connected to ftp.c2c.com.cn (218.25.176.217) port 8886 (#0)
< 220 Gene6 FTP Server v3.8.0 (Build 34) ready...
> USER a
< 331 Password required for admin.
> PASS abc
< 230 User admin logged in.
> PWD
< 257 "/" is current directory.
* Entry path is '/'
> EPSV
* Connect data stream passively
< 229 Entering Extended Passive Mode (|||53290|)
*   Trying 218.25.176.207... connected
* Connecting to 218.25.176.207 (218.25.176.207) port 53290
> TYPE I
< 200 Type set to I.
> SIZE 1.txt
< 213 0
> RETR 1.txt
< 150 Data connection accepted from 221.201.157.210:35562; transfer starting for
/1.txt (0 bytes)
* Maxdownload = -1
* Getting file with size: 0
{ [data not shown]
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0<
226 File sent ok.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*
Connection #0 to host ftp.abc.com.cn left intact

> QUIT
< 221 Goodbye.
* Closing connection #0

论坛徽章:
0
2 [报告]
发表于 2007-04-19 19:29 |只看该作者
为何上传0k的文件就没有问题呢?

论坛徽章:
0
3 [报告]
发表于 2007-04-19 22:53 |只看该作者
没有人知道么这个问题么?

论坛徽章:
0
4 [报告]
发表于 2007-04-20 12:14 |只看该作者
求各位大虾们帮忙。。谢谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP