Hi Vince
sorry not sure how much is needed.
attached the Ftp section of the weewx.conf  and a larger clip from the
syslog.

It has worked once but haven't been able to get going again.
I'm not sure if the "0 ./monthET.png
5b37571b2fead09adfe167cb1a82eb23fdb29ca84328c2692efccc73e77d3704" line is a
working part or a miss-call of some sort as I checked that the file does
exist in /html/weewx etc.
I'v tried different iterations of paths such as full
"home/user/public_html/weather" and variations with leading "/" or not.
I'm also not sure if the "weather" is needed or if weewx creates it if
necessary before dumping the *.png files in.
So just  "home/user/public_html/" would be enough for instance.
Also if "/weather" is also enough.
Have tried both.

thanks for your time on this
cheers
ian

On Sat, Nov 15, 2025 at 6:26 PM vince <[email protected]> wrote:

> *ftplib.error_perm*: 553 Can't open that file: No such file or directory
>
> Possibly a permission error ?  Or you are trying to upload to a
> non-existant directory on the remote server.  Did it ever work ? You
> provided so little information it is hard to guess what is going on.
>
> We’d have to see your FTP section from weewx.conf probably. Be sure to
> obfuscate the username and password.
>
> On Friday, November 14, 2025 at 8:31:08 PM UTC-8 Ian of Awai wrote:
>
>> Hullo again
>> Weewx works for local access but fails on ftp upload as unable to see the
>> png file needed although it does exist.
>> Maybe ftp upload python file corrupted?
>> No sure where those files live to check.
>>
>> Attached snap of syslog re Ftp section.
>>
>> cheers
>> Ian
>>
> --
> 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/FQKO4hua1YU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/weewx-user/00160b32-f14f-4afb-a8f1-4ecdb8b87f83n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/00160b32-f14f-4afb-a8f1-4ecdb8b87f83n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/CALwpkTcMp4KOH_J5rYcRSrOdo%3DJ26tVSHRDrXR5J5bkGe3toRw%40mail.gmail.com.
#   This section specifies what reports, using which skins, to generate.

[StdReport]    
    # Where the skins reside, relative to WEEWX_ROOT
    SKIN_ROOT = skins
    
    # Where the generated reports should go, relative to WEEWX_ROOT
    HTML_ROOT = /var/www/html/weewx    
    # Uncomment and change to override logging for reports.
     log_success = True
     log_failure = True
    
    # The database binding indicates which data should be used in reports.
    data_binding = wx_binding
    
    # Each of the following subsections defines a report that will be run.
    # See the customizing guide to change the units, plot types and line
    # colors, modify the fonts, display additional sensor data, and other
    # customizations. Many of those changes can be made here by overriding
    # parameters, or by modifying templates within the skin itself.
    
    [[SeasonsReport]]
        # The SeasonsReport uses the 'Seasons' skin, which contains the
        # images, templates and plots for the report.
        skin = Seasons
        enable = true
    
    [[SmartphoneReport]]
        # The SmartphoneReport uses the 'Smartphone' skin, and the images and
        # files are placed in a dedicated subdirectory.
        skin = Smartphone
        enable = false
        HTML_ROOT = /var/www/html/weewx/smartphone
    
    [[MobileReport]]
        # The MobileReport uses the 'Mobile' skin, and the images and files
        # are placed in a dedicated subdirectory.
        skin = Mobile
        enable = false
        HTML_ROOT = /var/www/html/weewx/mobile
    
    [[StandardReport]]
        # This is the old "Standard" skin. By default, it is not enabled.
        skin = Standard
        enable = false
    
    [[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 the password to guard against parsing errors.
        enable = true
        user = xxxxxxxxx
        password = "xxxxxxxx"
        server = ftp.xxxxxxx    # The ftp server name, e.g, www.myserver.org
        path = public_html/weather   # The destination directory, e.g., /weather
        
        # Set to True for an FTP over TLS (FTPS) connection. Not all servers
        # support this.
        secure_ftp = false
        
        # 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
        
        # Most FTP servers use port 21.
        port = 21
        
        # Set to 1 to use passive mode, zero for active mode
        passive = 1
    
    [[RSYNC]]
        # rsync'ing to a webserver is treated as just another report.
        skin = Rsync
Nov 15 21:26:56 Rpi3 weewxd[1048]: DEBUG weewx.cheetahgenerator: Using search 
list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 
'weewx.cheetah                                      generator.DisplayOptions', 
'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 
'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo',        
                               'weewx.cheetahgenerator.SkinInfo', 
'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo']
Nov 15 21:26:56 Rpi3 weewxd[1048]: DEBUG weewx.manager: Daily summary version 
is 4.0
Nov 15 21:26:56 Rpi3 weewxd[1048]: DEBUG weewx.drivers.vantage: Successfully 
woke up Vantage console
Nov 15 21:26:56 Rpi3 weewxd[1048]: DEBUG weewx.restx: CWOP: Connected to server 
cwop.aprs.net:14580
Nov 15 21:26:57 Rpi3 weewxd[1048]: INFO weewx.restx: CWOP: Published record 
2025-11-15 21:26:40 NZDT (1763195200)
Nov 15 21:27:01 Rpi3 weewxd[1048]: INFO weewx.cheetahgenerator: Generated 8 
files for report SeasonsReport in 4.98 seconds
Nov 15 21:27:01 Rpi3 weewxd[1048]: DEBUG weewx.manager: Daily summary version 
is 4.0
Nov 15 21:27:04 Rpi3 weewxd[1048]: INFO weewx.imagegenerator: Generated 13 
images for report SeasonsReport in 2.82 seconds
Nov 15 21:27:04 Rpi3 weewxd[1048]: INFO weewx.reportengine: Copied 0 files to 
/var/www/html/weewx
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weewx.reportengine: Report 
'SmartphoneReport' not enabled. Skipping.
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weewx.reportengine: Report 
'MobileReport' not enabled. Skipping.
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weewx.reportengine: Report 
'StandardReport' not enabled. Skipping.
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weewx.reportengine: Running report 
'FTP'
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weewx.reportengine: Running generators 
for report 'FTP' in directory '/etc/weewx/skins/Ftp' with locale 'en_NZ.UTF-8'
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weeutil.ftpupload: Attempting 
connection to ftp.conti.net.nz
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weeutil.ftpupload: FTP encoding not 
supported, ignoring.
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weeutil.ftpupload: Connected to 
ftp.conti.net.nz
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weeutil.ftpupload: 0 ./monthET.png 
5b37571b2fead09adfe167cb1a82eb23fdb29ca84328c2692efccc73e77d3704
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weeutil.ftpupload: Failed uploading 
/var/www/html/weewx/monthET.png to server ftp.conti.net.nz. Reason: '553 Can't 
open that                                       file: No such file or directory'
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine: ftpgenerator: (0): 
caught exception '<class 'ftplib.error_perm'>': 553 Can't open that file: No 
such file                                       or directory
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****  
Traceback (most recent call last):
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****    
File "/usr/share/weewx/weewx/reportengine.py", line 519, in run
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****      
n = ftp_data.run()
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****    
File "/usr/share/weewx/weeutil/ftpupload.py", line 208, in run
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****      
ftp_server.storbinary(stor_cmd, fd)
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****    
File "/usr/lib/python3.7/ftplib.py", line 504, in storbinary
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****      
with self.transfercmd(cmd, rest) as conn:
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****    
File "/usr/lib/python3.7/ftplib.py", line 399, in transfercmd
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****      
return self.ntransfercmd(cmd, rest)[0]
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****    
File "/usr/lib/python3.7/ftplib.py", line 365, in ntransfercmd
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****      
resp = self.sendcmd(cmd)
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****    
File "/usr/lib/python3.7/ftplib.py", line 273, in sendcmd
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****      
return self.getresp()
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****    
File "/usr/lib/python3.7/ftplib.py", line 246, in getresp
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****      
raise error_perm(resp)
Nov 15 21:27:04 Rpi3 weewxd[1048]: ERROR weewx.reportengine:         ****  
ftplib.error_perm: 553 Can't open that file: No such file or directory
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weeutil.ftpupload: Attempting 
connection to ftp.conti.net.nz
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weeutil.ftpupload: FTP encoding not 
supported, ignoring.
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weeutil.ftpupload: Connected to 
ftp.conti.net.nz
Nov 15 21:27:04 Rpi3 weewxd[1048]: DEBUG weeutil.ftpupload: 0 ./monthET.png 
5b37571b2fead09adfe167cb1a82eb23fdb29ca84328c2692efccc73e77d3704
Nov 15 21:27:05 Rpi3 weewxd[1048]: ERROR weeutil.ftpupload: Failed uploading 
/var/www/html/weewx/monthET.png to server ftp.conti.net.nz. Reason: '553 Can't 
open that                                       file: No such file or directory'

Reply via email to