we experienced this error when we are trying to download huge amount of files from an external sFTP.
Workflow is working correctly without errors when hundreds of files are downloaded. We noticed this problem only when we downloaded more files during a product distribution that provided us thousand of files (50/100 KB each).
Does anyone know if there's kind of limit on this kind of activity?
2) File transfer picks up all the files that follows the regual expression, so it's possible to have more multiple files and not just one as you supposed. In my case is not possible to have a regular expression that select only one file.
Alternatively, you can configure your workflow to pickup 100 files at a time and once that is complete, loop back to pick more files if present. Or to be more simple, pick one file at a time and design loop back, so that it keeps picking files till the time it is present.
but I see it is Timeout error and Timeout is generally configured in serverConf.xml and we can check the settings there and also you might be having some kind of connection threshold to have this issue. Try to increase the connection threshold in the serverConf.xml and see if you can get rid of this problem.