On Thursday, September 21, 2017 at 12:14:52 PM UTC-4, Juan Antonio Mosquera wrote: > > Ok... pero el problema es que yo solo quiero subir un tmpl a FTP y todos > los ficheros a Rsync. > >> >> the rsync and ftp 'reports' do not work that way. they only work on a directory of files, not individual files.
but of course you have options. here are a few: 1) create another report that only generates the one file that you want to transfer using ftp. use ftp for that report, and rsync for the 'full' report. 2) make the report put the file that you want to ftp into a subdirectory, then configure HTML_ROOT for ftp to be that directory instead of the report's HTML_ROOT 3) in python, write a new ftp report generator that can be configured to transfer individual files, not just a single directory. pull requests for changes to the ftp generator are welcome, or just write your own that is derived from the ftp generator. 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.
