• Font Size
  • S
  • M
  • L

Search via FAQ No.


  • No : 30747
  • Open Date : 2019/09/09 15:57
  • Print
NEW

[DataSpider Servista] I want to execute a script when a file with a variable file name is newly added by a file trigger.

I want to execute a script when a file with a variable file name is newly added by a file trigger.
 
When the start file name is set to "/data/webdav/*.xls", the trigger was fired for a file with a lower case extension (.xls), but the trigger for a file with the upper case extension (.XLS) was not fired. However, when the start file is set with "/data/webdav/*.XLS", only files with upper case extension (.XLS) are fired.
Is there a way to fire a trigger without case sensitivity of the file name?
 
Category : 

Answer

■Specification
The name of the path specified for the file trigger monitoring file, the name of the target file, and the name of the directory part are case sensitive. At present, there is no way to execute without case sensitivity.
 
■Workaround
 
Please try one of the following solutions.
  • Set all possible file names as file triggers
  • Create a script to convert file names to all lower case or upper case in advance.