Re: Exit Code 0 When 0 files are transferred with wildcards
Is there anyway to return a failure code of 1 whenever no files match the mask regardless if a wildcard is used or not?
No.
You can inspect XML log file to find out if any file was affected:
https://winscp.net/eng/docs/logging_xml