想要使用 c++ 或 perl 使用 OpenSSH 和 SFTP 通过 Internet 发送文件---Windows Vista 两者

Posted

技术标签:

【中文标题】想要使用 c++ 或 perl 使用 OpenSSH 和 SFTP 通过 Internet 发送文件---Windows Vista 两者【英文标题】:Want to use c++ or perl to send a file over the internet using OpenSSH and SFTP---Windows Vista both 【发布时间】:2011-11-22 14:52:12 【问题描述】:

我想使用 c++ 或 perl 通过 OpenSSH 和 SFTP 通过 Internet 发送文件。 两台计算机都将运行 Windows Vista。 C++ 将是一个控制台程序。

我该如何做到这一点?

谢谢。

【问题讨论】:

【参考方案1】:

有关 Perl 解决方案,请查看 Net::SFTP::Foreign。

尽管现在在 Windows 上,Net::SSH2 后端 (Net::SFTP::Foreign::Backend::Net_SSH2) 可能是比默认的 OpenSSH 更好的选择。

【讨论】:

以上是关于想要使用 c++ 或 perl 使用 OpenSSH 和 SFTP 通过 Internet 发送文件---Windows Vista 两者的主要内容,如果未能解决你的问题,请参考以下文章