FTP Skin weewx - not synchronize a particular file

77 views
Skip to first unread message

Remy Lavabre

unread,
May 17, 2023, 8:07:06 AM5/17/23
to weewx-user
Good morning,
Is there a way with the FTP skin not to synchronize a particular file between the appache weewx server and a copy at a host, such as a page view counter file?
THANKS

Tom Keffer

unread,
May 19, 2023, 2:29:26 PM5/19/23
to weewx...@googlegroups.com
Not understanding the question. Page view files normally live on the webserver. WeeWX FTP only moves files from the weewx host to the webserver, not the other way around.

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/2d7e0a3b-8fa6-41b2-a836-8921be08ac7en%40googlegroups.com.

Remy LAVABRE

unread,
May 20, 2023, 2:38:37 AM5/20/23
to weewx...@googlegroups.com
Thanks for your reply Tom.
Yes the FTP skin transfers all files from the Apache WEEWX server to an external server such as a site host for example.
The problem is for example when there is a HTML page view counter text file. That of the main server if it changes overwrites that of the mirror server... To avoid this, would it be possible to provide in the skin.conf configuration file of the FTP skin a list of files not to be copied in FTP?
Thanks Tom

Rémy LAVABRE



You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/05b0DmvRyoY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDWL99gmfU_CP1sucV3ZD96qEZJHmXYz00rDUh3AbJD%2BQ%40mail.gmail.com.

Tom Keffer

unread,
May 20, 2023, 7:32:36 AM5/20/23
to weewx...@googlegroups.com
Not an unreasonable request, but at this point there is no way to do that.

What you can do is put the counter file and weewx files in separate directories, then FTP only the latter.

vince

unread,
May 25, 2023, 9:43:47 AM5/25/23
to weewx-user
rsync itself has a —exclude flag but I don’t know if the weewx rsync uploader supports all the things commandline rsync does
Reply all
Reply to author
Forward
0 new messages