1 of 1 people found this helpful
Hi - Replace Space with ? in the file name, i.e. <file path>\Access?DB?-?Deficiencies.csv
Yes, according to the manual -
The file name can include mask character * to represent any number of characters (including no characters) or ? to represent any one character. In this case, enclose the full path name in quotation marks (for example, “c:\ctm\a*.txt”). If a file name in a Rules file (see page 4-15) contains a wildcard, the filename should not be enclosed in quotation marks. When a wildcard is used, the ctmfw utility does not monitor the size of the file unless the monitor file size when wildcard is used parameter is set to Y.
And what is the outcome of all these tests? Doesnt it get detected at all or something else? Can you share the output.
Your question is on how to detect the file "Access DB - Deficiencies.csv" which have spaces within the filename. The filewatcher should work by enclosing the the full path within double quotes. You mentioned you have tried this as well. Is there any output? My output when I ran ctmfw from the command prompt using the same filename:
C:\Temp>ctmfw "c:\temp\Access DB - Deficiencies.csv"
0814 10:15:49 : File 'c:\temp\Access DB - Deficiencies.csv' exists, it's current size is 15 bytes. id=1.
0814 10:16:19 : File transfer was completed. The size of file 'c:\temp\Access DB - Deficiencies.csv' is 15. id=1. Modified 14/08/2019 10:15
Also note that file permissions can be the issue, make sure that the process is able to "see" the Access DB - Deficiencies.csv file.