本文介绍了来自 Ruby on Rails 应用程序的 FTPS (TLS/SSL)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个 FTP 服务器,它只通过运行 FTPS(基于 TLS 的显式 FTP)接受连接.我需要能够使用 Ruby on Rails 应用程序连接到它.
I have an FTP server which only accepts connections through running FTPS (explicit FTP over TLS). I need to be able to connect to this using a Ruby on Rails app.
有人知道这样做的方法吗?我已经尝试过 Net::FTP
库,但这似乎不支持 FTPS 连接.
Does anybody know of a method to do this? I have tried the Net::FTP
library but this does not appear to support FTPS connections.
推荐答案
如何使用 Net::FTPTLS
?
这篇关于来自 Ruby on Rails 应用程序的 FTPS (TLS/SSL)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!