cloudy cloudy

Author Topic: Install of consoleWD FTP not working  (Read 1428 times)

0 Members and 1 Guest are viewing this topic.

Offline timt

  • Posts: 7
  • OS/Browser:
  • Win NT 10.0
  • Chrome 52.0.2743.116
Install of consoleWD FTP not working
« on: April 11, 2017, 10:50:45 PM »
I have installed consolewd on a Ubuntu 16.10 connecting to a Davis Pro weather station. Everything works fine, data being downloaded from DAVIS Pro, clientraw files being updated.

I can manually upload the clientraw files upto the website fine

However the cronftpreal is not ftping files; instead just keeps repeating "Checking for candoftpreal.txt"

Client raw FTP Upload 23:48:47 11-4-17
FTP real vers 2.7
Checking for candoftpreal.txt
Checking for candoftpreal.txt
Checking for candoftpreal.txt
Checking for candoftpreal.txt
Checking for candoftpreal.txt

Any suggestions what might be wrong?

Offline Weather Display

  • Posts: 85,310
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 57.0.2987.133
    • Weather Display
Re: Install of consoleWD FTP not working
« Reply #1 on: April 12, 2017, 03:11:52 AM »
do you have set in the config.txt file to actually do the real time client raw ftp?
try restarting consolewd so it picks up the modified settings
« Last Edit: April 12, 2017, 03:15:51 AM by Weather Display »

Offline timt

  • Posts: 7
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 56.0.2924.87
Re: Install of consoleWD FTP not working
« Reply #2 on: April 12, 2017, 10:36:37 AM »
Yes I have (see below - xxxx entries removed for post) - but I have validated through the Linux console work Ok through manual ftp.

Do clientraw FTP=Y //(set to Y for yes, N for no)
FTP server=ftp.xxxx
FTP username=xxxx
FTP password=xxxx
FTP port=21                                              //default is 21
FTP remote dir=html/wwsc.org.uk/weather/                               
FTP remote dir wx.html=html/wwsc.org.uk/weather/
FTP use passive=Y                                       //(set to Y for yes, N for no)
FTP use remote file rename=                    //Write here the remote name: NOTE that not all FTP servers allow remote file rename"
FTP time interval=60                   //the interval between  upload of the clientraw.txt and customclientraw files

Offline Weather Display

  • Posts: 85,310
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 57.0.2987.133
    • Weather Display
Re: Install of consoleWD FTP not working
« Reply #3 on: April 12, 2017, 06:17:27 PM »
humm
and consolewd is getting live data OK from the station?

Offline timt

  • Posts: 7
  • OS/Browser:
  • Win NT 10.0
  • Chrome 52.0.2743.116
Re: Install of consoleWD FTP not working
« Reply #4 on: April 12, 2017, 07:04:23 PM »
Yes fine (see below) - if I clientraw files are being updated and if I manually ftp the files they display fine - and debug or logging I can turn on?

Doing VP routine now
raw vp baro 1015.0
raw vp temp 14.3
Vpsolar = 32767
Davis Data OK
Current data : Temperature= 55.9 Windspeed =8.6 Gustspeed =12.0 Direction =94 Humidity=70 Barometer=30.0 Daily Rain=0.0
Checking for candoftpreal.txt
Checking for candoftpreal.txt
*****Received count =  ----------------------------->  99
crc= 0
Doing VP routine now
raw vp baro 1015.0
raw vp temp 14.3
Vpsolar = 32767
Davis Data OK
Current data : Temperature= 55.9 Windspeed =8.8 Gustspeed =12.0 Direction =94 Humidity=70 Barometer=30.0 Daily Rain=0.0
Checking for candoftpreal.txt
Checking for candoftpreal.txt
*****Received count =  ----------------------------->  99


Offline Weather Display

  • Posts: 85,310
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 57.0.2987.133
    • Weather Display
Re: Install of consoleWD FTP not working
« Reply #5 on: April 13, 2017, 04:42:25 AM »
humm
which version of consolewd and raspberry pi version, etc?

Offline timt

  • Posts: 7
  • OS/Browser:
  • Android 6.0.1
  • Chrome 51.0.2704.79
Re: Install of consoleWD FTP not working
« Reply #6 on: April 13, 2017, 06:51:17 AM »
Is not a PI its an old PC with a serial port running Ubuntu 16.10, and Consolewd Version on 4 September 2015 - 03:25:56

Offline timt

  • Posts: 7
  • OS/Browser:
  • Win NT 10.0
  • Chrome 52.0.2743.116
Re: Install of consoleWD FTP not working
« Reply #7 on: April 13, 2017, 07:49:01 PM »
Full console output (removed ftp site and username) attached


Offline Weather Display

  • Posts: 85,310
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 57.0.2987.133
    • Weather Display
Re: Install of consoleWD FTP not working
« Reply #8 on: April 13, 2017, 08:08:47 PM »
ah, the original consolewd version

one simple way to get the problem resolved could be to create a bath script or similar that creates the  file candoftpreal.txt at regular intervals

Offline timt

  • Posts: 7
  • OS/Browser:
  • Android 6.0.1
  • Chrome 51.0.2704.79
Re: Install of consoleWD FTP not working
« Reply #9 on: April 13, 2017, 10:06:42 PM »
Any particular format to the file? shouls it be in the same directory as the console application?

Offline Weather Display

  • Posts: 85,310
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 57.0.2987.133
    • Weather Display
Re: Install of consoleWD FTP not working
« Reply #10 on: April 14, 2017, 05:15:27 AM »
hi
it just needs to exist and yes , in the same directory

Offline timt

  • Posts: 7
  • OS/Browser:
  • Win NT 10.0
  • Chrome 52.0.2743.116
Re: Install of consoleWD FTP not working
« Reply #11 on: April 14, 2017, 08:59:06 AM »
No sorry that doesn't work either.

Real pity we used to use the full Windows version; but the new machine is a headless Linux box, running other software.

Bit stuck!

 

cumulus