Ad Widget

Collapse

Pb to use vfs.file.exists

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tanabay
    Junior Member
    • Oct 2004
    • 25

    #1

    Pb to use vfs.file.exists

    Hi,

    I want to use vfs.file.exists to check the presence a file in a directory, but the extension of the file change with a number. Exemple : toto.001 and after toto.002.

    If i check vfs.file.exists[c:\tmp\toto.*], i doesn't work.

    Do you have a solution to use the character * or ? in the parameter ?

    Thanks

    PS : I have the version 1.6.2
    Last edited by tanabay; 23-02-2009, 16:36.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    It is not supposed to work. Wildcards are not supported here.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • tanabay
      Junior Member
      • Oct 2004
      • 25

      #3
      Thanks to this reponse.

      Do you want to add this fonctionnality in a futur version ?

      If is Yes, i'm your test user if you want.

      Comment

      Working...