It's particularly annoying as I previously had it working from install at previous hosting since 2019 or so.

So, when you said above:
It has worked once but haven't been able to get going again. 

Did you mean it worked with your previous hosting company are did it work once with your new hosting company?

On Nov 15, 2025, at 2:51 PM, Ian of Awai <[email protected]> wrote:


Hi Jimi, Vince
Yes, that is my issue.
It logs in ok but fails and I don't know at which end.
I know the file *.png exists at my end as can see locally but is it complaining of that or unable to find file or directory at the destination?
(surely it knows because it has already deposited the files into the www--------html/weewx folder for ftp......)
I also don't know if Weewx will create a folder "weather" (for example) at the destination to put the png files into or it has to exist for it to find via Ftp in order to complete the task.
I've tried stating various paths from "/", "/public_html" full "home/xxxx/xxx.xxx.xxx/weather" and anything similar with and without leading "/"....
I'm thinking a convoluted setup at my Host provider but not sure due to lack of experience/knowledge.
It's particularly annoying as I previously had it working from install at previous hosting since 2019 or so.
As Weewx connects to my wx-station, downloads data and displays via home net connection (direct), makes an Ftp connection but trips at that point it would be my Hosting setup as a likely problem.
I've tackled them about it but their thoughts haven't worked yet; incorporating variations of path= as mentioned above.
I did a pwd from my laptop as can be seen in attached....

thanks for your input guys
cheers
ian


On Sun, Nov 16, 2025 at 9:16 AM Jimi Lawson <[email protected]> wrote:
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.

--
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/74bd326b-1bd9-41fe-91f1-5eb31e59cb1fn%40googlegroups.com.

--
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/CALwpkTd8WQjUoDK6PzB-iaVGNToaa7FhoKUQ%2BxB8pqbdk9s25Q%40mail.gmail.com.
<PWD test result.txt>

--
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/0BF7FE48-A143-48E4-BD53-CCA46D84EAF9%40johnkline.com.

Reply via email to