Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

maloep

BizTalk Server 2016 – WinSCP Receive Adapter seems to ignore polling interval

Hello,

I am not sure if this is a BizTalk or WinSCP issue, so I am asking here and at Microsoft Q&A.

On a customer system, two issues occur when using the BizTalk SFTP Receive Adapter (WinSCP).
1. Large files (>500 MB) are transferred multiple times before they are deleted.
2. In directories containing many smaller files (>1,000 files), there are occasional interruptions in data retrieval. In such cases, the Event Log shows the warning 'Session is not opened'. After restarting the BizTalk service, processing resumes.

We suspect that both issues have the same root cause: the Receive Adapter (or WinSCP) appears to ignore the 'Polling Interval' setting. We have multiple Receive Locations with different polling interval configurations (120 seconds, 240 seconds, 5 minutes, etc.). However, in all directories, the files are still retrieved within just a few seconds.

In the log file, it can be seen that for all Receive Locations, a directory listing ('Script: ls') is executed about every 30 seconds, 3–4 times in a row.

Does anyone have an idea what might be causing this issue? Any help would be greatly appreciated.

Technical details:
- BizTalk 2016 Standard Edition (Product version: 3.12.774.0)
- WinSCP version 5.19.2.0 (1.8.3.11614)
--> We have also tested various older versions of WinSCP. Newer versions are not compatible with BizTalk 2016.