FTPS隐式TLS/SSL错误 [英] FTPS implicit TLS/SSL error

查看:369
本文介绍了FTPS隐式TLS/SSL错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过隐式SSL使用FTP上传一些文件.我遇到以下错误消息

I am using FTP over implicit SSL to upload some files. I encountered the following error message

[Command]  PWD
[Response]  257 "/" is current directory.
[Command]  PWD
[Response]  257 "/" is current directory.
[Command]  TYPE A
[Response]  200 Type set to A
[Command]  PWD
[Response]  257 "/" is current directory.
[Command]  PASV
[Response]  227 Entering Passive Mode (10,0,0,19,195,113)
[Command]  LIST -aL
[Response]  521 PROT P required
[Command]  PWD
[Response]  257 "/" is current directory.
[Command]  PASV
[Response]  227 Entering Passive Mode (10,0,0,19,195,114)
[Command]  LIST -aL
[Response]  521 PROT P required
[Status] Failed::FTP protocol error. 521 PROT P required.

我可以知道此错误消息需要521 PROT P"是什么意思吗?

May I know what is this error message "521 PROT P required" saying?

谢谢

推荐答案

在开始数据传输(例如,在控制连接之外创建新的数据连接以传输文件或列表)之前,您必须使用 PROT 命令.主要保护级别是 P 用于受保护(例如SSL加密)或 C 用于清除(不加密).服务器抱怨,因为您没有指定保护级别,因此它不知道如何获取数据.

Before starting a data transfer (e.g. creating a new data connection outside the control connection to transfer files or listing) you have to specify the protection level using the PROT command. The main protection levels are P for protected (e.g. SSL encryption) or C for clear (no encryption). The server complains, because you don't specify a protection level and so it does not know how you want to get your data.

PROT 命令必须由所有ftps客户端实现并使用.

The PROT command must be implemented and used by all ftps clients.

这篇关于FTPS隐式TLS/SSL错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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