在internet上传输文件(安全数据)的最佳方式是什么?我正在考虑WCF的REST服务。文件大小小于10MB。我们公司不允许FTP传输。你能推荐一下有没有文章或者第三方工具吗?我很感谢你的建议。
发布于 2012-10-27 01:31:55
我假设你在windows上。在命令行中,您可以使用pscp,它是PuTTY Secure Copy,有一个很好的教程 here,但基本思想是:
pscp myfile.txt hostname:/home/user/
另一个更全面、更用户友好的应用程序是winSCP。
发布于 2012-10-27 02:14:52
当您包含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 keyhttps://stackoverflow.com/questions/13091606
复制相似问题