dos匿名登录ftp


通常登录ftp的办法,大部分情况下我们还是使用客户端工具来解决登录,但这个界面化的工具看起来更舒坦,更人性化。下面简单谈谈dos命令行下登录ftp来获取或者上传我们需要的信息...
匿名登录ftp:(Windows) cmd-->ftp -A host(host address)
如果是正常登录的话我们需要使用用户名和密码才能登录主机:ftp host (回车),接下来在命令行中会提示我们输入用户名和密码。
一切准备就绪以后就可以开始上传和下载远端服务器信息了:get(下载远端服务器信息到本地),put(把本地文件放到远端服务器,前提是远端服务器必须要有写的权限)

ftp 命令详解:
FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-w:windowsize] [-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.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值