FTP 命令模式下 PASV OR PORT

FTP 命令模式下 PASV OR PORT

我们经常会在DOS命令模式下使用FTP的一些命令,不过,在进行Upload/Download时,经常会碰到一个命令的反馈:
use PORT or PASV first.
请问如何操作呢?
按常里,我们会根据提示,输入PASV或者PORT指令.其实这样输入是无法进行的.
使用的方法如下:
如果需要切换到PORT模式:quote PORT;
同样,如果需要PASV模式:quote PASV即可.
此文档参考:http://www.linuxforums.org/forum/servers/19666-vsftpd-server-425-use-port-pasv-first.html
原文:
The FTP server wants to know whether to use a port-mode channel or passive-mode data channel. Most clients will set this up for you transparently (and generally choose passive 'cos it's newer and better). To send a command to the server you use the 'quote' command. Hence if you type:

quote PASV

then it should all work nicely. As an aside, if you type 'remotehelp' then it should show you all the commands that the server can receive - all these can be used with the 'quote' command.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值