需要SFTP连接TImeout [英] Need SFTP Connection TImeout

查看:602
本文介绍了需要SFTP连接TImeout的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,



我使用Tamir.SharpSSH.dll将文件上传到SFTP ...我的问题是,如果由于某些连接丢失到SFTP服务器问题,它不是来自 sftp.Connect(); 行...它一直试图建立连接......我没有看到这个dll的任何connectiontimeout功能...



你能帮助我吗...或者推荐任何其他免费的dll ...



Hello All,

I am uploading file to SFTP using Tamir.SharpSSH.dll... My problem is, if connection lost to SFTP server due to some problems, it is not coming out from sftp.Connect(); line... it keeps trying to make connection... I did not see any connectiontimeout functionality for this dll...

Can you guys help me on this... Or suggest any other free dlls...

Sftp sftp = new Sftp(Constants.SFTPSERVERNAME, Constants.SFTPUserName, Constants.SFTPPassword);
sftp.Connect();





如果我不清楚,请告诉我....



谢谢,

Naveen



Please let me know if I am not clear....

Thanks,
Naveen

推荐答案

图书馆的所有者 [ ^ ]。


这篇关于需要SFTP连接TImeout的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆