34
Views
1
Comments
[SFTP connected] Set a timeout
Question
sftp-connected
Web icon
Forge asset by Vitalii Martynenko

We are using this component for several internal processes where we are depended on FTP environments to retrieve CSV files to process them. Currently we are experiencing issues on some of them. We are aware that the real problem here is that the FTP environment is not stable and the file we are retrieving is really big. So it happens sometimes that we get an error retrieving files with this component due to a timeout.

Is there a possibility to set a custom timeout on the call in this component?

2024-07-29 13-18-02
Vitalii Martynenko

Sorry for the loooong wait time :)

Technically it is possible to set a custom timeout and even possibly have an async file fetch yet it might not make much sense as by default ssh.net (underlying library) uses infinite timeout for operations and actual timeout comes from the connection itself and I'd say it means it was terminated.

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