Re: [weewx-user] FTP problems

2020-05-30 Thread Tom Keffer
I doubt it. The logic is pretty much the same. Would you be comfortable sending me the user login and password via private email? tkef...@gmail.com -tk On Sat, May 30, 2020 at 6:22 AM Richard Cropper wrote: > No problem , Tom > > Unfortunately, still not there. Whether secure_data is set to tr

Re: [weewx-user] FTP problems

2020-05-30 Thread Richard Cropper
No problem , Tom Unfortunately, still not there. Whether secure_data is set to true or false, I get the following: May 30 14:16:39 raspberrypi weewx[24128] ERROR weeutil.ftpupload: Attempt #2. Failed uploading /public_html/weewx/daywindvec.png to polaris.servers.prgn.misp.co.uk. Reason: [Errno

Re: [weewx-user] FTP problems

2020-05-30 Thread Tom Keffer
Wow. I just mislead you. My fault. What you need is a copy of V4.0.0, but with a patch that allows a secure authorization connection to be used, but with insecure data. Try the attached. My apologies! -tk On Sat, May 30, 2020 at 5:29 AM Tom Keffer wrote: > Hello, > >1. You don't want the l

Re: [weewx-user] FTP problems

2020-05-30 Thread Tom Keffer
Hello, 1. You don't want the latest. You are still on V4.0.0, so you want to revert to that version of ftpupload.py. You can find a copy here: https://github.com/weewx/weewx/blob/v4.0.0/bin/weeutil/ftpupload.py 2. Once you get that sorted, try again with secure_data set to false. 3.

Re: [weewx-user] FTP problems

2020-05-30 Thread Richard Cropper
Sorry This looks like the same error as with your first replacement: May 30 11:20:54 raspberrypi weewx[21515] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.reportengine.FtpGenerator' May 30 11:20:54 raspberrypi weewx[21515] ERROR weewx.reportengine:

Re: [weewx-user] FTP problems

2020-05-29 Thread Tom Keffer
Well then, let's try setting the PROT setting, even though the data will not be secure. Try this version. On Fri, May 29, 2020 at 6:15 AM Richard Cropper wrote: > I'm on v 4.0.0 - it can't have been more than a week since I installed it > > Yes I did try setting secure_data to false. With the pr

Re: [weewx-user] FTP problems

2020-05-29 Thread Richard Cropper
I'm on v 4.0.0 - it can't have been more than a week since I installed it Yes I did try setting secure_data to false. With the previous version of ftpupload.py I then get May 29 14:10:56 raspberrypi weewx[4780] ERROR weeutil.ftpupload: Attempt #1. Failed uploading /public_html/weewx/weekwind.pn

Re: [weewx-user] FTP problems

2020-05-29 Thread Tom Keffer
The file I posted was to fix a problem introduced in V4.1, which I had assumed you were using. Apparently not. Disregard the file. Sorry for any confusion. Did you try setting secure_data to false? -tk On Fri, May 29, 2020 at 4:22 AM Richard Cropper wrote: > Incidentally, I've been nowhere nea

Re: [weewx-user] FTP problems

2020-05-29 Thread Richard Cropper
Incidentally, I've been nowhere near reportengine.py On Friday, May 29, 2020 at 12:19:38 PM UTC+1, Richard Cropper wrote: > > Hi Tom > > This what I get with the new ftpupload.py > > May 29 12:01:40 raspberrypi weewx[2431] INFO weewx.reportengine: Copied 5 > files to /var/www/html/weewx > > May 2

Re: [weewx-user] FTP problems

2020-05-29 Thread Richard Cropper
Hi Tom This what I get with the new ftpupload.py May 29 12:01:40 raspberrypi weewx[2431] INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx May 29 12:01:40 raspberrypi weewx[2431] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.reportengine.FtpGenerator

Re: [weewx-user] FTP problems

2020-05-28 Thread Tom Keffer
I just noticed that in refactoring the ftp uploader, the function _make_remote_dir() never gets called! Try this version of weeutil/ftpupload.py. -tk On Thu, May 28, 2020 at 12:50 PM Tom Keffer wrote: > Hard to say, but I think you're getting hit by issue #284 >

Re: [weewx-user] FTP problems

2020-05-28 Thread Tom Keffer
Hard to say, but I think you're getting hit by issue #284 . Try adding an option secure_data and setting it to false: [[FTP]] ... secure_ftp = True secure_data = False -tk On Thu, May 28, 2020 at 9:36 AM Richard Cropper wrote: > Thanks Tom >

Re: [weewx-user] FTP problems

2020-05-28 Thread Richard Cropper
Thanks Tom I had in fact tried those steps but did so again, without success. Suspecting that the directory might be the cause even though its permissions looked good, I deleted the weewx directory and then created it again. This had made a difference but not solved the problem. Here's an ext

Re: [weewx-user] FTP problems

2020-05-27 Thread Tom Keffer
Two things to try: 1. Make sure the FTP username has write permissions on the server. 2. Try different variations on the FTP path. For example, path = public_html/weewx/# What you have path = public_html/weewx path = /public_html/weewx/ path = /public_html/weewx path = weewx path = /weewx

Re: [weewx-user] FTP problems

2020-05-27 Thread Richard Cropper
Thanks Tom Yes all the files are in /var/www/html/weewx If I understand you correctly, this has more to do with the file path of the remote host server. I am at a loss to understand what is going on at that end. I can at least connect but I either get a message as you have seen or a 'broken

Re: [weewx-user] FTP problems

2020-05-27 Thread Richard Cropper
Thanks Tom Yes all the files are in /var/www/html/weewx If I understand you correctly, this has more to do with the file path of the remote host server. I am at a loss to understand what is going on at that end. I upload my webcam pic every five minutes using curl but if I use the same crede

Re: [weewx-user] FTP problems

2020-05-27 Thread Tom Keffer
Fixed in commit 7ac6eaf . On Wed, May 27, 2020 at 7:17 AM Tom Keffer wrote: > Hello, Richard > > Unfortunately, the error message is misleading (and should be changed). > When it says > > Failed uploading public_htm

Re: [weewx-user] FTP problems

2020-05-27 Thread Tom Keffer
Hello, Richard Unfortunately, the error message is misleading (and should be changed). When it says Failed uploading public_html/weewx/monthtempfeel.png to ftp.tq7weather.uk. Reason: 553 Can't open that file: No such file or directory what it means is it could not upload to the *target* public_h

[weewx-user] FTP problems

2020-05-27 Thread Richard Cropper
Hi Having secured a connection, I still don't seem to be able to upload files I get the following error message on the log May 27 13:30:36 raspberrypi weewx[899] ERROR weeutil.ftpupload: Attempt #1. Failed uploading public_html/weewx/monthtempfeel.png to ftp.tq7weather.uk. Reason: 553 Can't op

Re: [weewx-user] ftp problems

2020-04-04 Thread p q
Have you tried to manually ftp something to the ftp site? On Sat, Apr 4, 2020 at 9:41 AM 'Richard O' via weewx-user < weewx-user@googlegroups.com> wrote: > Hi All > > I am having a problem getting my external website to work. Nothing > downloads onto it. i have tried every combination I can think

[weewx-user] ftp problems

2020-04-04 Thread 'Richard O' via weewx-user
Hi All I am having a problem getting my external website to work. Nothing downloads onto it. i have tried every combination I can think of! Hardware Davis vue with meteo pi and RPi Software latest Raspbian lite and latest weewx server software latest Nginx The program is running well and all wo