我被困在TLS/SSL (FTPS)服务器上连接FTP。我正在使用的SimpleFTP库,通过能够连接的FTP服务器,没有SSL,但不能连接FTPS。
它在第2行(ftp.connect)给了我这个错误,
当连接到FTP服务器时,SimpleFTP收到了未知的响应:
220
正在使用下面的代码
SimpleFTP ftp = new SimpleFTP();
// Connect to an FTP server on port 21.
ftp.connect("xxx.xxx.xxx.xxx", 21, "username", "pwd
我需要专家帮助。我已经编写了C#控制台基础应用程序。其中,我必须将zip文件上传到FTPS服务器。每次我得到连接拒绝错误。但是当我通过FileZilla连接时,它的连接和工作正常。
我正在使用FTP协议,加密类型是“需要在TLS上显式FTP”登录类型normal (见下面的屏幕截图)。
异常消息如下:“连接失败。\r\nTLS连接:错误中的错误\r\n不能建立TLS连接\r\n从服务器\r\n连接失败”
请提供任何示例代码或帮助我更正此代码。
我的示例C#示例代码如下:
using System;
using System.Collections.Generic;
using System.I
我喜欢FTP/WebDAV的Nautilus,但是如何将它与FTPS服务器一起使用呢?
当我进入ftps://时,Don't recognize this file server type说。
有插件吗?
或者像Nautilus这样快速方便的东西,在FTPS的支持下?
来自Ubuntu回购公司的gFTP说,FTPS Support unavailable since SSL support was not compiled in。
请注意:不应将FTPS与SSH文件传输协议(SFTP)混淆,这是安全Shell (SSH)协议的一个不兼容的安全文件传输子系统。它也不同于安全FTP,通过
我使用git-ftp来部署一些站点,使用一台服务器,我无法通过TLS建立连接。
curl -vv --insecure ftps://linux12.unixserver.org:21
* Rebuilt URL to: ftps://linux12.unixserver.org:21/
* Trying 212.63.145.118...
* TCP_NODELAY set
* Connected to linux12.unixserver.org (212.63.145.118) port 21 (#0)
* successfully set certificate verify lo
我正在尝试使用python的ftplib下载文件,但我在一个问题中运行。当我在我的计算机上运行脚本时,我得到一个错误:
Traceback (most recent call last):
File "ftp_get.py", line 20, in <module>
ftps.retrbinary('RETR '+ filename, file.write)
File "C:\Python27\lib\ftplib.py", line 710, in retrbinary
conn.unwrap()
Fi
我对HTTP服务器很在行,但我对FTP还是新手。我正在尝试配置一个FTPS连接,并已将侦听设置为端口990。但是FileZilla客户端连接总是在TLS初始化时挂断,然后超时。对配置有什么建议吗?这是我当前的FTPS配置:
Enable FTP over SSL/TLS support (FTPS) - Checked
Allow explicit FTP over TLS - Checked
Disallow plain unencrypted FTP - Checked
Force PROT P to encrypt file transfers in SSL/TLS mode -
我正在尝试使用ftps上传文件到我们的FTP服务器。登录是微不足道的,并且是有效的:
from M2Crypto import ftpslib
ftp = ftpslib.FTP_TLS()
ftp.connect(host)
ftp.login(username, password)
以及向下进入目录
for dir in directory:
ftp.cwd(dir)
但是,在尝试检索目录内容时:
if directory_name not in ftp.nlst():
ftp.mkd(directory_name)
我得到522错误:
File "/usr/lib
我正在寻找自动化的事情,目前正在手动进行。正在使用ftp客户端Filezilla执行手动处理。以下是指示:
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
使用Python 3.6.3。
我是连接到一个FTP通过ftplib通过FTP_TLS。
ftps = ftplib.FTP_TLS('example.com', timeout=5)
# TLS is more secure than SSL
ftps.ssl_version = ssl.PROTOCOL_TLS
# login before securing control channel
ftps.login('username@example.com', 'password')
# switch to secure data con