免费注册 查看新帖 |

Chinaunix

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

[FTP] 我想在windows下做个自动下栽批处理,但是不成功!求救 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-06-04 15:56 |只看该作者 |倒序浏览
我的批处理是这样的:
ftp -u  用户 密码 172.26.0.250

bin
lcd d:\1
mget *.* /y
bye
但是好象不支持-u参数,第一步就登不上去,这里该怎么写?

论坛徽章:
0
2 [报告]
发表于 2005-06-04 19:20 |只看该作者

我想在windows下做个自动下栽批处理,但是不成功!求救

ftp -h 看一下支持的参数

论坛徽章:
0
3 [报告]
发表于 2005-06-04 20:04 |只看该作者

我想在windows下做个自动下栽批处理,但是不成功!求救

里面没有输入用户和密码的参数
FTP [-v] [-d] [-i] [-n] [-g] [-s] [-a] [-w] [-A] [host]

  -v             Suppresses display of remote server responses.
  -n             Suppresses auto-login upon initial connection.
  -i             Turns off interactive prompting during multiple file
                 transfers.
  -d             Enables debugging.
  -g             Disables filename globbing (see GLOB command).
  -s:filename    Specifies a text file containing FTP commands; the
                 commands will automatically run after FTP starts.
  -a             Use any local interface when binding data connection.
  -A             login as anonymous.
  -w:buffersize  Overrides the default transfer buffer size of 4096.
  host           Specifies the host name or IP address of the remote
                 host to connect to.

Notes:
  - mget and mput commands take y/n/q for yes/no/quit.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP