使用C#的Sftp访问代码 [英] Sftp access code using C#
本文介绍了使用C#的Sftp访问代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何通过使用c#来从应用程序中的ftp protocal访问sftp协议。
how to access sftp protocal from ftp protocal in application by using c#....
推荐答案
这是适合您的库: SSH.NET库 [ ^ ]。它支持很多东西,还有:
从网站功能列表中复制:
- 使用同步和异步方法执行SSH命令
- 返回命令执行退出状态和其他信息
- 为同步和异步操作提供SFTP功能。
- 提供SCP功能。
- 提供上传和下载sftp操作的状态报告,以便实现准确的进度条
- 远程,动态和本地端口转发
- Shell /终端实施。
- 指定密钥文件密码短语
- 使用多个密钥文件进行身份验证
This is the library for you: SSH.NET Library[^]. It supports a lot of stuff and also:
Copied from the sites feature list:
- Execution of SSH command using both synchronous and asynchronous methods
- Return command execution exit status and other information
- Provide SFTP functionality for both synchronous and asynchronous operations.
- Provides SCP functionality.
- Provide status report for upload and download sftp operations to allow accurate progress bar implementation
- Remote, dynamic and local port forwarding
- Shell/Terminal implementation.
- Specify key file pass phrase
- Use multiple key files to authenticate
这篇关于使用C#的Sftp访问代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文