Exit Code 0 When 0 files are transferred with wildcards
I have noticed that whenever a wildcard is used in a trasnfer and 0 files are transferred, the return code is 0 (success). However, when trying to transfer the same file without the wildcard, it will return an exit code of 1 (failure) because winscp could not find any files. This seems inconsistent.
Is there anyway to return a failure code of 1 whenever no files match the mask regardless if a wildcard is used or not?
Or is there any option to change this behavior?
-Julius
Is there anyway to return a failure code of 1 whenever no files match the mask regardless if a wildcard is used or not?
Or is there any option to change this behavior?
-Julius