This shows python ftp. 
http://makble.com/upload-new-files-to-ftp-server-with-python
It also says about 550 errors.

weewx is using /usr/share/weewx/weeutil/ftpupload.py

So hopefully someone who knows python might help you...I don't know python.

Good luck


On Wednesday, 15 April 2020 02:06:06 UTC+10, chris op wrote:
>
> Hi! 
>
> All was working fine with uploading the weewx weather data to my website. 
> However, this suddenly stopped a couple of weeks ago. I was realizing one 
> day, that the website was not updated anymore.
>
> Looking into the syslog what happens and I found the following errors:
> Apr 14 17:46:03 raspberrypi weewx[27105]: ftpupload: Attempt #1. Failed 
> uploading /home/www/xyz.de/daywind.png to sxyz.xyzserver.host. Reason: 
> 425 Unable to build data connection: Operation not permitted
> This changes during to process into:
> Apr 14 17:46:13 raspberrypi weewx[27105]: ftpupload: Attempt #3. Failed 
> uploading /home/www/xyz.de/neowx/daywind.png to sxyz.xyzserver.host. 
> Reason: 200 Type set to I
> or
> Apr 14 17:51:20 raspberrypi weewx[27105]: ftpupload: Attempt #1. Failed 
> uploading /home/www/xyz.de/belchertown/graphs/index.html to 
> sxyz.xyzserver.host. Reason: 550 /home/www/xyz.de/belchertown/graphs: 
> File exists
>
> I have tried to play around in the file weewx.conf and changed the 
> parameters there but this only led to other error messages like 550 or 500.
>
> My configuration looks as follows:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> # 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, uncomment and fill out the next four 
> lines.
>         # Use quotes around passwords to guard against parsing errors.
>         user = web83
>
>         password = 'xyz'
>         server = sxyz.xyzserver.host
>         path = /home/www/xyz.de/
>         
>         # 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
>         
>         # Most FTP servers use port 21
>         port = 21
>         
>         # Set to 1 to use passive mode, zero for active mode
>         passive = 1
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> Can anyone help? I am a rooky but trying hard to become better with linux 
> and this kind of software and programming.
>
> Thank you!
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/4b1a7bed-66c1-4504-85c3-bc9fc7474667%40googlegroups.com.

Reply via email to