8
Views
0
Comments
[SFTP connected] Can we add a variable timeout?
sftp-connected
Web icon
Forge asset by Vitalii Martynenko
Application Type
Traditional Web

Hi,

Is it possible to add an option to set the timeout on the connection?

Add an extra int parameter for TimeOut to the Connect action, and the following to the code:
connectionInfo.Timeout = TimeSpan.FromSeconds(ssTimeout);


Well, it's possible obviously, as I've done it, but could you add it to forge version so mine isn't a fork please?

I'd attach the updated OAP, but it's too big for the 4mb limit here... I think they set it a 4000kb, not 4mb!

Kind Regards

Nathan Hobbs

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.