如何在Windows命令提示符下使用被动FTP模式? [英] How to use passive FTP mode in Windows command prompt?

查看:3299
本文介绍了如何在Windows命令提示符下使用被动FTP模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在被动模式下,Ubuntu ftp -p 可以正常工作。

我如何在Windows中执行相同的操作?



我尝试了 quote pasv ,但是我收到以下错误:

  230确定。目前的限制目录是/ 
ftp> quote pasv
227进入被动模式(31,170,167,221,116,239)
ftp> cd os
250 OK。当前目录是/ os
ftp> dir
500我不打开连接到10.23.16.248(仅限于113.193.128.177)
425没有数据连接
ftp>

我的防火墙已禁用。

解决方案

Windows实际上不支持被动模式。



您可以通过三种不同的方式将命令发送到服务器,但不会启用被动模式在Windows客户端上。



这些参数用于发送各种命令, pasv 不是Microsoft在写它时想到的。 / p>

您必须找到像WinSCP这样的第三方软件,它支持命令行使用,并使用该软件代替Windows本地软件。


In Ubuntu ftp -p for passive mode works fine.

How do I do the same in Windows?

I tried with quote pasv but I am getting following error:

230 OK. Current restricted directory is /
ftp> quote pasv 
227 Entering Passive Mode (31,170,167,221,116,239)    
ftp> cd os    
250 OK. Current directory is /os    
ftp> dir    
500 I won't open a connection to 10.23.16.248 (only to 113.193.128.177)    
425 No data connection    
ftp>

My firewall is disabled.

解决方案

Windows does not actually support passive mode.

You can send the command to the server in three different ways but that will not enable passive mode on the Windows client end.

Those arguments are for sending various commands and pasv is not something that Microsoft thought of when they wrote it.

You will have to find a 3rd party software like WinSCP that supports command line usage and use that instead of the Windows native one.

这篇关于如何在Windows命令提示符下使用被动FTP模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆