Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: DEBUG weewx.reportengine: Running report 'FTP'
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: DEBUG weewx.reportengine: Running generators for report 'FTP' in directory '/etc/weewx/skins/Ftp' with locale 'fr_FR.UTF-8'
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: DEBUG weeutil.ftpupload: Attempting secure connection to
ftp.XXXXXXXX.odns.frAug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: DEBUG weeutil.ftpupload: Secure data connection to
ftp.XXXXXXXX.odns.frAug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: DEBUG weeutil.ftpupload: 0 ./json/weewx.json 1aae81699bc1155768b9a4a4c6e52a79f09f5465cabd46c229bac2311eaa4890
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weeutil.ftpupload: Failed uploading /var/www/html/weewx/BRESSER/json/weewx.json to server
ftp.XXXXXXXX.odns.fr. Reason: '553 Can't open that file: No such file or directory'
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: ftpgenerator: (0): caught exception '<class 'ftplib.error_perm'>': 553 Can't open that file: No such file or directory
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** Traceback (most recent call last):
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 519, in run
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** n = ftp_data.run()
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** File "/usr/share/weewx/weeutil/ftpupload.py", line 208, in run
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** ftp_server.storbinary(stor_cmd, fd)
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** File "/usr/lib/python3.10/ftplib.py", line 498, in storbinary
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** with self.transfercmd(cmd, rest) as conn:
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** File "/usr/lib/python3.10/ftplib.py", line 393, in transfercmd
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** return self.ntransfercmd(cmd, rest)[0]
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** File "/usr/lib/python3.10/ftplib.py", line 793, in ntransfercmd
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** conn, size = super().ntransfercmd(cmd, rest)
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** File "/usr/lib/python3.10/ftplib.py", line 359, in ntransfercmd
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** resp = self.sendcmd(cmd)
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** File "/usr/lib/python3.10/ftplib.py", line 281, in sendcmd
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** return self.getresp()
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** File "/usr/lib/python3.10/ftplib.py", line 254, in getresp
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** raise error_perm(resp)
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: ERROR weewx.reportengine: **** ftplib.error_perm: 553 Can't open that file: No such file or directory
Aug 17 10:05:31 meteo-Ubuntu weewx-BRESSER[118424]: DEBUG weeutil.ftpupload: Attempting secure connection to
ftp.XXXXXXXX.odns.frAug 17 10:05:32 meteo-Ubuntu weewx-BRESSER[118424]: DEBUG weeutil.ftpupload: Secure data connection to
ftp.XXXXXXXX.odns.frIn this example is the skin JSON but , i try to disable this and with belcheretown files its the same ;-(
[[FTP]]
# FTP'ing the results to a webserver is treated as just another report,
# albeit one with an unusual report generator!
skin = Ftp
# If you wish to use FTP, set "enable" to "true", then
# fill out the next four lines.
# Use quotes around passwords to guard against parsing errors.
enable = true
user =
met...@meteo-pontscorff.fr password = ZZZZZZZZZZZ
server =
ftp.XXXXXXXXX.odns.fr # The ftp server name, e.g,
www.myserver.org path = /data-weewx/BRESSER # The destination directory, e.g., /weather
# Set to True for an FTP over TLS (FTPS) connection. Not all servers
# support this.
secure_ftp = true
# To upload files from something other than what HTML_ROOT is set
# to above, specify a different HTML_ROOT here.
HTML_ROOT = /var/www/html/weewx/BRESSER
# Most FTP servers use port 21
port = 21
# Set to 1 to use passive mode, zero for active mode
passive = 1
Can i Use another protocol to upload data ? Rsync ? but its not easy to transfer ssh keys