Do you know which FTP server this is? What version of Python are you using?
Set debug=2, then try again. It will give additional information. -tk On Wed, Aug 23, 2023 at 9:01 AM Karl Napp <[email protected]> wrote: > HI, > I've enabled the FTP over TLS as described in the user's guide. When the > FTP Upload starts weewx returns with ERRORS > Here is a snippet syslog output: > > Aug 23 16:50:44 berryzero weewx[2267] ERROR weeutil.ftpupload: Failed > uploading /var/www/html/weewx/monthvolt.png to server ossipage.de. > Reason: '425 Unable to build data connection: Operation not permitted' > Aug 23 16:50:44 berryzero weewx[2267] ERROR weewx.reportengine: > ftpgenerator: (0): caught exception '<class 'ftplib.error_temp'>': 425 > Unable to build data connection: Operation not permitted > ... > > on the remote server only the file monthsvolt.png is written with a size > of 0 Bytes. > I'm using Python 3.9.2 > Copying files manually to the remote server with FTP over TLS works. > Something missing in the setting ? > > > -- > 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/3c4c658e-4ac2-4b8b-b923-bc4137e32c14n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/3c4c658e-4ac2-4b8b-b923-bc4137e32c14n%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 on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDpQ5yN7BVwhjN-bfLd-4OZb2CtAUpOFojkE1UwbVNgEQ%40mail.gmail.com.
