Re: if statement for filenames
For complex solution, you would need to use XML logging:
https://winscp.net/eng/docs/guide_interpreting_xml_log
Simple solution would be to move all the files with the specific word to a different temporary remote folder, move the test files back, and download all remaining files in the temporary folder, moving them back to original folder if required.
https://winscp.net/eng/docs/guide_interpreting_xml_log
Simple solution would be to move all the files with the specific word to a different temporary remote folder, move the test files back, and download all remaining files in the temporary folder, moving them back to original folder if required.