Thanks!... and sorry :/

El domingo, 10 de septiembre de 2017, 20:55:10 (UTC+2), mwall escribió:
>
> On Tuesday, September 5, 2017 at 1:35:58 PM UTC-4, Juan Antonio Mosquera 
> wrote:
>>
>> Hi,
>>
>> I need use custom template for Ftp report (only a .tmpl) that upload 
>> unique TXT (tmpl)
>> and other Skin for RSYNC.
>>
>> Is possible?, how?
>>
>
> you can use any number of rsync and any number of ftp 'reports'.
>
> for example, if you want to rsync reports A and B to destination X and you 
> want to ftp report C to destination Y and report A to destination Z, then 
> create 2 rsync reports and 2 ftp reports:
>
> skins/rsyncA/
> skins/rsyncA/skin.conf
> skins/rsyncB/
> skins/rsyncB/skin.conf
> skins/ftpA/
> skins/ftpA/skin.conf
> skins/ftpC/
> skins/ftpC/skin.conf
>
> in the weewx configuration you would have:
>
> [StdReport]
>     [[reportA]]
>         ...
>     [[reportB]]
>         ...
>     [[reportC]]
>         ...
>     [[rsyncA]]
>         skin = rsyncA
>         HTML_ROOT = /path/to/reportA
>     [[rsyncB]]
>         skin = rsyncB
>         HTML_ROOT = /path/to/reportB
>     [[ftpA]]
>         skin = ftpA
>         HTML_ROOT = /path/to/reportA
>     [[ftpC]]
>         skin = ftpC
>         HTML_ROOT = /path/to/reportC
>
> the skin.conf for each rsync is the same:
>
> [Generators]
>     generator_list = weewx.reportengine.RsyncGenerator
>
> and the skin.conf for each ftp is the same:
>
> [Generators]
>     generator_list = weewx.reportengine.FtpGenerator
>
> notice that the transfers are directory-based - both rsync and ftp upload 
> everything in the designated HTML_ROOT directory.  you cannot specify 
> individual files.
>
> si hay problemas, puede escribir en espaƱol.  podemos traducirlos; sus 
> palabras originales son mehor que google translate :)
>  
> m
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to