首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >ColdFusion版本9安全FTP -无法连接

ColdFusion版本9安全FTP -无法连接
EN

Stack Overflow用户
提问于 2016-01-13 19:07:00
回答 1查看 849关注 0票数 3

我正在寻找自动化的事情,目前正在手动进行。正在使用ftp客户端Filezilla执行手动处理。以下是指示:

代码语言:javascript
运行
复制
In the Host field, type in the IP address: xx.xxx.xxx.xxx.
In the Port field, type in 990.
In the Servertype dropdown list, change it so that it reads 
 FTP over SSL/TLS (implicit encryption). (NOTE: On the Mac OSX 
 version this option will read FTPS – FTP over implicit TLS/SSL).
In the Logontype area, select Normal.
In the Username field, enter your username.
In the Password field, enter your password.

当我遵循这些指令时,我成功地连接了起来。这就是我在ColdFusion中尝试过的:

代码语言:javascript
运行
复制
<cfftp action="open"
connection="abc"
secure = true
server="something valid"
port="990"
username="something valid" 
password="something valid">

这是错误消息:An error occurred while establishing an sFTP connection. Verify your connection attributes: username, password, server, fingerprint, port, key, connection, proxyServer, and secure (as applicable). Error: Session.connect: java.net.SocketTimeoutException: Read timed out.

当我移除港口装饰品时,结果没有变化。当我将用户名更改为无效时,我会得到一个稍微不同的错误:An error occurred while establishing an sFTP connection. Verify your connection attributes: username, password, server, fingerprint, port, key, connection, proxyServer, and secure (as applicable). Error: connection is closed by foreign host.

换句话说,超时被有意关闭所取代。

为了解决这个问题,我应该看什么?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-01-13 20:19:23

在Filezilla中创建FTPS连接,ColdFusion 9不支持FTPS,只有SFTP。多亏了answer回答,我在过去能够创建一个显式的FTPS连接。ColdFusion 9附带Apache,您可以使用FTPSClient在java级别创建连接。

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34775022

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档