Looking at his log it looks like ftp is connecting OK, but some kind of problem with the filename or the directory ? No idea at which end
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' On Saturday, 15 November 2025 at 18:28:32 UTC vince wrote: > Yes - that was what I was trying to say. Validate you can log in. > Validate the path you're in once you have successfully logged in. > > On Saturday, November 15, 2025 at 9:49:43 AM UTC-8 Jimi Lawson wrote: > >> This is mine >> [[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 = *********** >> password = ************** >> server = **.***.***.*** >> path = public_html/weewx >> >> # Set to True for an FTP over TLS (FTPS) connection. Not all >> servers >> # support this. >> secure_ftp = False >> Has worked no problem for years >> Try using an FTP client to connect to your web server to prove your >> credentials are correct. >> Jimi >> On Saturday, 15 November 2025 at 17:25:52 UTC vince wrote: >> >>> I suspect "path = public_html/weather" in your weewx.conf might be >>> incorrect. You probably want an absolute path starting with a / character. >>> >>> Unfortunately we can't guess what your remote server might set your >>> account's location to be. If you are using an Internet provider they >>> probably have some instructions for what to use. >>> >>> You might be able to figure it out yourself by logging in via ftp from a >>> command line and typing "pwd" if I remember correctly. It's probably been >>> 10 years or more since I used FTP so my memory might be hazy there. >>> >>> >>> On Saturday, November 15, 2025 at 1:08:22 AM UTC-8 Ian of Awai wrote: >>> >>>> 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/74bd326b-1bd9-41fe-91f1-5eb31e59cb1fn%40googlegroups.com.
