Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Writing to an external file from trigger event
The reason for the \\ is that \ is an escapement mechanism in CML, as it is in various other languages. So, to get an actual \ you have to double it up as \\. The first one says "take this next character literally, even though it's a special character."
Dean Roddey
Software Geek Extraordinaire
(01-01-2011, 01:59 PM)Dean Roddey Wrote: You can't write to a remote file, though of course you could create a simple driver that would act as a proxy for you on the master server.

Maybe a symbolic link  Google how to create one - its a command done from teh command line symlink - I use it with onedrive for linking other folders outside of the onedrive folder and works fine.

I had not thought of using it with CQC myself until reqding this and I have pondered this issue before as well.  Problem I find is that files in the macrofilroot folder need elevated admin rights to modify which is a PITA.  I might look at symlinks as a way to ease the pain.
Mykel Koblenz
Illawarra Smart Home

Possibly Related Threads...
Thread Author Replies Views Last Post
  IFTT and HTTP Trigger parameter passing setup Shaky 5 70 03-09-2018, 10:20 PM
Last Post: Dean Roddey
  SSL certificate for HTTP trigger driver RichardU 7 286 01-16-2018, 09:50 AM
Last Post: Dean Roddey
  Event entry not responding! Deane Johnson 4 341 12-11-2017, 02:10 PM
Last Post: Dean Roddey
  Generate Random Number in a Trigger batwater 1 149 12-10-2017, 12:43 PM
Last Post: Dean Roddey
  Simple field change trigger action Bugman 15 1,656 10-23-2017, 11:55 AM
Last Post: Dean Roddey
  Motion Event Running Twice? zra 2 630 07-31-2017, 08:15 PM
Last Post: zra
  Variable Driver Trigger Error zra 4 1,203 07-06-2017, 01:00 PM
Last Post: zra
  EVent Server Monitor znelbok 1 558 06-07-2017, 12:36 PM
Last Post: Dean Roddey
  I have an event that I want to happen 5 hours after sunset. ghurty 8 1,514 03-24-2017, 08:40 AM
Last Post: Dean Roddey
  HTTP-based Trigger Driver Docs znelbok 5 1,413 03-11-2017, 09:34 PM
Last Post: Dean Roddey

Forum Jump:

Users browsing this thread: 1 Guest(s)