0

通过 Internet 传输文件(安全数据)的最佳方式是什么?我正在考虑 WCF REST 服务。文件大小小于 10MB。我们公司不允许 FTP 传输。您能否建议是否有任何文章或第三方工具?我很感激任何建议。

4

2 回答 2

2

我假设你在 Windows 上。从命令行您可以使用pscp ,即 PuTTY Secure Copy,这里有一个不错的教程,但基本思想是:

pscp myfile.txt hostname:/home/user/

另一个更全面和用户友好 (GUI) 的应用程序是winSCP

于 2012-10-26T17:31:54.650 回答
0

当您包含 C# 标记时,您是否将其合并到程序中?

如果是这样,请查看 SharpSSH 库 - http://www.tamirgal.com/blog/page/SharpSSH.aspx

功能列表 以下列表总结了 SharpSSH 当前支持的功能:

SharpSSH is pure .NET, but it depends on Mentalis.org Crypto Library for encryption and integrity functions.
SSH2 protocol support
SSH File Transfer Protocol (SFTP)
Secure Copy (SCP)
Key exchange: diffie-hellman-group-exchange-sha1, diffie-hellman-group1-sha1
Cipher: 3des-cbc, aes128-cbc
MAC: hmac-md5
Host key type: ssh-rsa, ssh-dss
Userauth: password, publickey (RSA, DSA)
Port Forwarding
Stream Forwarding
Remote Exec
Generating DSA and RSA key pairs
Changing the passphrase for a private key
于 2012-10-26T18:14:52.377 回答