Hi, I have not used Weewx for some time and installed it again on a Ubuntu 14 Laptop. I can collect the data from my Klimalogg pro and the files are stored correctly. Only the FTP transfer is not working to my server at ONE.com I have other programs written in Python that can upload files correctly to the server.
My weewx.conf file, FTP part: [[kl]] skin = kl HTML_ROOT = /var/www/html/weewx/kl [[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 = smeds.eu password = "**********" server = ftp.smeds.eu # The ftp server name, e.g, www.myserver.org path = /new # 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 Part of the log looks like this with debug on: Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO weewx.imagegenerator: Generated 11 images for report kl in 1.68 seconds Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: Running report 'FTP' Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP' Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: Cannot read localization file /etc/weewx/skins/Ftp/lang/en.conf for report 'FTP': Config file not found: "/etc/weewx/skins/Ftp/lang/en.conf". Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: **** Using defaults instead. Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: Attempting connection to ftp.smeds.eu Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: FTP encoding not supported, ignoring. Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: Connected to ftp.smeds.eu Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 0 ./weektempdew.png d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weeutil.ftpupload: Failed uploading /var/www/html/weewx/weektempdew.png to server ftp.smeds.eu. Reason: '550 Requested action not taken. File unavailable (e.g., file not found, no access).' Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: ftpgenerator: (0): caught exception '<class 'ftplib.error_perm'>': 550 Requested action not taken. File unavailable (e.g., file not found, no access). Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** Traceback (most recent call last): Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 437, in run Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** n = ftp_data.run() Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/share/weewx/weeutil/ftpupload.py", line 220, in run Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** ftp_server.storbinary(stor_cmd, fd) Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/lib/python2.7/ftplib.py", line 471, in storbinary Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** conn = self.transfercmd(cmd, rest) Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/lib/python2.7/ftplib.py", line 376, in transfercmd Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** return self.ntransfercmd(cmd, rest)[0] Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/lib/python2.7/ftplib.py", line 339, in ntransfercmd Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** resp = self.sendcmd(cmd) Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/lib/python2.7/ftplib.py", line 249, in sendcmd Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** return self.getresp() Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/lib/python2.7/ftplib.py", line 224, in getresp Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** raise error_perm, resp Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** error_perm: 550 Requested action not taken. File unavailable (e.g., file not found, no access). Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: Attempting connection to ftp.smeds.eu Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: FTP encoding not supported, ignoring. Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: Connected to ftp.smeds.eu Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 0 ./weektempdew.png d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weeutil.ftpupload: Failed uploading /var/www/html/weewx/weektempdew.png to server ftp.smeds.eu. Reason: '550 Requested action not taken. File unavailable (e.g., file not found, no access).' Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: ftpgenerator: (1): caught exception '<class 'ftplib.error_perm'>': 550 Requested action not taken. File unavailable (e.g., file not found, no access). Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** Traceback (most recent call last): Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 437, in run Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** n = ftp_data.run() Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/share/weewx/weeutil/ftpupload.py", line 220, in run Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** ftp_server.storbinary(stor_cmd, fd) Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/lib/python2.7/ftplib.py", line 471, in storbinary Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** conn = self.transfercmd(cmd, rest) Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/lib/python2.7/ftplib.py", line 376, in transfercmd Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** return self.ntransfercmd(cmd, rest)[0] Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/lib/python2.7/ftplib.py", line 339, in ntransfercmd Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** resp = self.sendcmd(cmd) Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/lib/python2.7/ftplib.py", line 249, in sendcmd Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** return self.getresp() Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** File "/usr/lib/python2.7/ftplib.py", line 224, in getresp Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** raise error_perm, resp Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: **** error_perm: 550 Requested action not taken. File unavailable (e.g., file not found, no access). Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: Attempting connection to ftp.smeds.eu Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: FTP encoding not supported, ignoring. Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: Connected to ftp.smeds.eu .................... Can someone help me please. /Boris Smeds -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a34ae782-22bf-44d6-abea-6f0940dee838n%40googlegroups.com.