Page 1 of 1

FTP event path **solved**

Posted: Wed Feb 19, 2020 1:24 am
by stevem
Hi,

Very nice product which I’ve had running since 2015.

I am wondering if it is possible to include limited tag substation in the FTP Event path name so that a template can be used to create a series of “moment in time“ snap shots with unique file names. I understand that MySQL can be used to achieve the same end result. I’m just looking for something a little simpler.

I’m thinking that an FTP output file name could be weather[yyyy][mm][dd][HH][MM].dat and this would produce a
file name like weather202001171400.dat on the FTP server.

Alternatively it could simply be a [timestamp] tag or even [seqNo] - anything that makes it unique, since the real time can be included in the template itself.

Regards
Steve

Re: FTP event path

Posted: Wed Feb 19, 2020 11:42 am
by admin
strftime syntax should work on the path as well as template variables. Did you try?

Re: FTP event path

Posted: Wed Feb 19, 2020 8:15 pm
by stevem
No, but I will. Perhaps an example in the docs?
Thanks for help.
Rgds Steve

Re: FTP event path

Posted: Wed Feb 19, 2020 8:44 pm
by stevem
Hi,
I see now that the FTP camera event example in the docs demonstrates the use of the strftime substitution variables :-)
Rgds

Re: FTP event path **solved**

Posted: Sun Feb 23, 2020 11:31 am
by stevem
Yes, the variables work fine.
Rgds
Steve

Ps. Now all we need is auto mkdir if the complete directory structure is not present as many security cameras do.