I have created a process to fetch only new files from SFTP server. (Atatched the code snippet).
But its creating an issue as sometime not able to fetch the FileDetails even though a new file is available based on lookup datetime variable.
Kindly look into it and please let me know if I'm doing anything wrong here.
WinSCP version used till now ==> 5.15
Updated today to 220.127.116.1114
URL referred for my process: