Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们在系统中构建了一个非常复杂的插件,它使用Net::SFTP gem 连接到远程服务器。一切正常。
但是,我们的一位新客户出现并为我们准备了一台服务器,我们只能使用 FTP 而不是 sFTP 登录。
有没有关于如何使用这个 gem 通过 FTP 协议连接到服务器的解决方法?我们的客户可能会考虑添加对 sFTP 的访问权限。但是,如果此选项失败,我们将需要自行管理它。
SFTP 和 FTP 是两个完全不同的协议。
Net::SFTP 仅支持 SFTP。