Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Problem with FTP

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
stravon
Posts: 4
Joined: Wed 15 Jul 2020 2:28 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry - Pi3

Problem with FTP

Post by stravon »

Hello guys.

My name is George and i am from Greece. I have installed a Davis Vantage Pro 2 station which i have connect with Meteo-Pi(serial) on a raspberry pi 3.

All was good since i wanted to make an ftp connection to upload the files on my webpage. This works only with the feature of the ftp now and is not working with the schedule interval.
More specifically in mxdiags there is no problem or error. My interval is about every 5 minutes. I follow all the instructions about the checks in ftp section but nothing works.

Some additional information which maybe help you to understand what goes wrong with this :

- My console is the envoy. At this time i have only the console without ISS. On webpage i have data only for pressure and inside temperature & humidity. Is that a problem? I mean, is it necessary to connect all the meteo station with console to operates the auto FTP. But why the ftp now works perfectly?


Thanks in advance guys, i will be happy if you have a solution.

George.
User avatar
rogerthn
Posts: 549
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Problem with FTP

Post by rogerthn »

Please activate FTP logging in
Settings - Internet settings - Web/FTP settings
FTP logging
Log FTP activity to ftplog.txt for diagnostic purposes
Image
stravon
Posts: 4
Joined: Wed 15 Jul 2020 2:28 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry - Pi3

Re: Problem with FTP

Post by stravon »

I have activated. I paste the messages from the last ftp log. My problem is that web files are created and uploaded only when i use ftp now feature.

MXdiags
2020-07-15 23:07:55.074 ========================== Cumulus MX starting ==========================
2020-07-15 23:07:55.090 Command line: /home/pi/CumulusMX/CumulusMX.exe
2020-07-15 23:07:55.090 Cumulus MX v.3.6.10 build 3086
2020-07-15 23:07:55.098 Platform: Unix
2020-07-15 23:07:55.099 OS version: Unix 4.19.118.7
2020-07-15 23:07:55.502 Mono version: 6.10.0.104 (tarball Fri Jun 26 19:59:14 UTC 2020)
2020-07-15 23:07:55.502 Current culture: Greek (Greece)
2020-07-15 23:07:55.502 Directory separator=[/] Decimal separator=[,] List separator=[;]
2020-07-15 23:07:55.502 Date separator=[/] Time separator=[:]
2020-07-15 23:07:55.503 Standard time zone name: EET
2020-07-15 23:07:55.503 Daylight saving time name: EEST
2020-07-15 23:07:55.506 Daylight saving time? True
2020-07-15 23:07:55.507 15/7/2020 11:07:55 μ.μ.
2020-07-15 23:07:55.585 Reading Cumulus.ini file
2020-07-15 23:07:55.619 ASM=10 AST=00:10:00
2020-07-15 23:07:55.621 Cumulus start date: Πέμπτη, 25 Ιουνίου 2020
2020-07-15 23:07:55.645 Data path = data/
2020-07-15 23:07:55.784 Creating backup folder backup/20200715230755/
2020-07-15 23:07:55.807 Created backup folder backup/20200715230755/
2020-07-15 23:07:55.807 Debug logging is disabled
2020-07-15 23:07:55.808 Data logging is disabled
2020-07-15 23:07:55.808 FTP logging is enabled
2020-07-15 23:07:55.808 Logging interval = 5
2020-07-15 23:07:55.808 Real time interval = 8
2020-07-15 23:07:55.808 NoSensorCheck = 0
2020-07-15 23:07:56.298 Calculating sunrise and sunset times
2020-07-15 23:07:56.316 Sunrise: 06:15:48
2020-07-15 23:07:56.316 Sunset : 21:01:13
2020-07-15 23:07:56.317 Tomorrow sunrise: 06:16:35
2020-07-15 23:07:56.317 Tomorrow sunset : 21:00:36
2020-07-15 23:07:56.849 Station type: Davis Vantage Pro2
2020-07-15 23:07:56.853 WindUnit=km/h RainUnit=mm TempUnit=°C PressureUnit=hPa
2020-07-15 23:07:56.853 YTDRain=0,000 Year=0
2020-07-15 23:07:56.854 RainDayThreshold=-1,000
2020-07-15 23:07:56.854 Offsets and Multipliers:
2020-07-15 23:07:56.854 PO=0,000 TO=0,000 HO=0 WDO=0 ITO=0,000 SO=0,000 UVO=0,000
2020-07-15 23:07:56.855 PM=1,000 WSM=1,000 WGM=1,000 TM=1,000 TM2=0,000 HM=1,000 HM2=0,000 RM=1,000 SM=1,000 UVM=1,000
2020-07-15 23:07:56.855 Spike removal:
2020-07-15 23:07:56.855 TD=999,000 GD=999,000 WD=999,000 HD=999,000 PD=999,000
2020-07-15 23:07:56.855 MR=999,000 MH=999,000
2020-07-15 23:07:56.855 Cumulus Starting
2020-07-15 23:07:56.860 Opening station
2020-07-15 23:07:56.939 Last update time from today.ini: 15/7/2020 6:10:00 μ.μ.
2020-07-15 23:07:56.939 Read today file: Date = 15/7/2020, LastUpdateTime = 15/7/2020 6:10:00 μ.μ., Month = 7
2020-07-15 23:07:56.944 ReadTodayfile: set notraininit false
2020-07-15 23:07:56.979 /home/pi/CumulusMX/data/alltime.ini
2020-07-15 23:07:56.985 Alltime.ini file read
2020-07-15 23:07:57.069 MonthlyAlltime.ini file read
2020-07-15 23:07:57.090 Month.ini file read
2020-07-15 23:07:57.112 Year.ini file read
2020-07-15 23:07:57.123 Finding raintoday from logfile data/Ιούλ20log.txt
2020-07-15 23:07:57.123 Expecting listsep=; decimal=,
2020-07-15 23:07:57.160 Midnight rain found in the following entry:
2020-07-15 23:07:57.160 15/07/20;11:50;0,0;0;0,0;0,0;0,0;0;0,0;0,0;1016,29;0,0;26,4;55;0,0;0,0;0,0;0,0;0;0,00;0,00;-4,0;897;0,0;0;0,0;0,0;0,0
2020-07-15 23:07:57.188 Midnight rain found, setting midnight rain count = 0
2020-07-15 23:07:57.188 Checking rain counter = 0
2020-07-15 23:07:57.188 Rain counter set to = 0
2020-07-15 23:07:57.196 Getting rain totals, rain season start = 1
2020-07-15 23:07:57.197 Today = 15/07/20
2020-07-15 23:07:57.202 Rainthismonth from dayfile.txt: 0
2020-07-15 23:07:57.203 Rainthisyear from dayfile.txt: 0
2020-07-15 23:07:57.215 Station type = Davis
2020-07-15 23:07:57.215 LOOP2 disabled
2020-07-15 23:07:57.215 Serial device = /dev/ttyS0
2020-07-15 23:07:57.216 Serial speed = 19200
2020-07-15 23:07:57.237 Connected OK
2020-07-15 23:07:57.246 Reading firmware version
2020-07-15 23:07:57.588 FW version = 3.83
2020-07-15 23:07:57.594 Reading reception stats
2020-07-15 23:07:57.893 Reception stats string: 0 0 0 0 0
2020-07-15 23:07:57.900 Last update time = 15/7/2020 6:10:00 μ.μ.
2020-07-15 23:07:57.909 Setting console time
2020-07-15 23:07:57.955 You are not running the latest version of CumulusMX, build 3088 is available.
2020-07-15 23:07:58.204 Console time set OK
2020-07-15 23:08:00.208 Reading console time
2020-07-15 23:08:00.533 Console clock: 15/7/2020 11:08:00 μ.μ.
2020-07-15 23:08:00.537 Reading history data from log files
2020-07-15 23:08:00.539 Loading last N hour data from data logs: 15/7/2020 6:10:00 μ.μ.
2020-07-15 23:08:00.576 Loaded 13 entries to last hour data list
2020-07-15 23:08:00.614 Loaded 37 entries to last 3 hour data list
2020-07-15 23:08:00.661 Loaded 91 entries to graph data list
2020-07-15 23:08:00.891 Loaded 93 entries to recent data list
2020-07-15 23:08:00.904 Loaded 1 entries to daily data list
2020-07-15 23:08:00.905 Reading archive data from logger
2020-07-15 23:08:01.345 717 web tags initialised
2020-07-15 23:08:01.536 HTML root path = /home/pi/CumulusMX/interface
2020-07-15 23:08:02.648 Get Archive Data
2020-07-15 23:08:02.649 Rollover hour = 0
2020-07-15 23:08:02.650 Last Archive Date: 15/7/2020 6:10:00 μ.μ.
2020-07-15 23:08:02.650 Date: 10479
2020-07-15 23:08:02.651 Time: 1810
2020-07-15 23:08:02.893 Sending DMPAFT
2020-07-15 23:08:02.914 Received response to DMPAFT, sending start date and time
2020-07-15 23:08:02.915 Sending: EF-28-12-07-6A-95
2020-07-15 23:08:02.936 Waiting for response
2020-07-15 23:08:02.938 Response: 01 00 02 00 10 D6
2020-07-15 23:08:02.939 Reading data: 1 pages , offset = 2
2020-07-15 23:08:02.939 Reading archive page 0
2020-07-15 23:08:02.939 Waiting for response
2020-07-15 23:08:03.088 Reading response
2020-07-15 23:08:03.112 Loaded archive record for Page=0 Record=2 Timestamp=15/7/2020 6:15:00 μ.μ.
2020-07-15 23:08:03.112 Processing archive record for 15/7/2020 6:15:00 μ.μ.
2020-07-15 23:08:03.211 Page=0 Record=2 Timestamp=15/7/2020 6:15:00 μ.μ.
2020-07-15 23:08:03.276 Writing log entry for 15/7/2020 6:15:00 μ.μ.
2020-07-15 23:08:03.337 Written log entry for 15/7/2020 6:15:00 μ.μ.
2020-07-15 23:08:03.389 Writing today.ini, LastUpdateTime = 15/7/2020 6:15:00 μ.μ. raindaystart = 0 rain counter = 0
2020-07-15 23:08:03.400 Log file entry written
2020-07-15 23:08:03.523 1 archive entries processed
2020-07-15 23:08:03.523 Loaded archive record for Page=0 Record=3 Timestamp=15/7/2020 6:20:00 μ.μ.
2020-07-15 23:08:03.523 Processing archive record for 15/7/2020 6:20:00 μ.μ.
2020-07-15 23:08:03.524 Page=0 Record=3 Timestamp=15/7/2020 6:20:00 μ.μ.
2020-07-15 23:08:03.524 Writing log entry for 15/7/2020 6:20:00 μ.μ.
2020-07-15 23:08:03.526 Written log entry for 15/7/2020 6:20:00 μ.μ.
2020-07-15 23:08:03.531 Writing today.ini, LastUpdateTime = 15/7/2020 6:20:00 μ.μ. raindaystart = 0 rain counter = 0
2020-07-15 23:08:03.533 Log file entry written
2020-07-15 23:08:03.538 2 archive entries processed
2020-07-15 23:08:03.539 Loaded archive record for Page=0 Record=4 Timestamp=15/7/2020 6:25:00 μ.μ.
2020-07-15 23:08:03.539 Processing archive record for 15/7/2020 6:25:00 μ.μ.
2020-07-15 23:08:03.539 Page=0 Record=4 Timestamp=15/7/2020 6:25:00 μ.μ.
2020-07-15 23:08:03.540 Writing log entry for 15/7/2020 6:25:00 μ.μ.
2020-07-15 23:08:03.541 Written log entry for 15/7/2020 6:25:00 μ.μ.
2020-07-15 23:08:03.547 Writing today.ini, LastUpdateTime = 15/7/2020 6:25:00 μ.μ. raindaystart = 0 rain counter = 0
2020-07-15 23:08:03.549 Log file entry written
2020-07-15 23:08:03.555 3 archive entries processed
2020-07-15 23:08:03.555 Get Archive Data
2020-07-15 23:08:03.556 Rollover hour = 0
2020-07-15 23:08:03.556 Last Archive Date: 15/7/2020 6:25:00 μ.μ.
2020-07-15 23:08:03.556 Date: 10479
2020-07-15 23:08:03.556 Time: 1825
2020-07-15 23:08:03.800 Sending DMPAFT
2020-07-15 23:08:03.821 Received response to DMPAFT, sending start date and time
2020-07-15 23:08:03.822 Sending: EF-28-21-07-3A-53
2020-07-15 23:08:03.842 Waiting for response
2020-07-15 23:08:03.843 Response: 00 00 00 00 00 00
2020-07-15 23:08:03.843 Reading data: 0 pages , offset = 0
2020-07-15 23:08:03.843 No historic data available
2020-07-15 23:08:03.885 Logger archive reading thread completed
2020-07-15 23:08:03.886 Updating highs and lows
2020-07-15 23:08:03.901 Start normal reading loop
2020-07-15 23:08:03.909 Start Timers
2020-07-15 23:08:03.910 Starting 1-minute timer
2020-07-15 23:08:03.917 Data logging interval = 1 (5 mins)
2020-07-15 23:08:03.917 Starting Realtime timer, interval = 8 seconds
2020-07-15 23:08:03.918 Normal running
2020-07-15 23:08:07.275 !!! loop data not received, bytes received = 0
2020-07-15 23:08:40.874 !!! loop data not received, bytes received = 0
2020-07-15 23:09:00.972 Minimum data set of pressure, temperature, and wind is not available and NoSensorCheck is not enabled. Skip processing
2020-07-15 23:09:15.855 !!! loop data not received, bytes received = 0
2020-07-15 23:09:51.355 !!! loop data not received, bytes received = 0
2020-07-15 23:10:00.932 Minimum data set of pressure, temperature, and wind is not available and NoSensorCheck is not enabled. Skip processing
2020-07-15 23:10:26.382 !!! loop data not received, bytes received = 0
2020-07-15 23:11:00.929 Minimum data set of pressure, temperature, and wind is not available and NoSensorCheck is not enabled. Skip processing
2020-07-15 23:11:01.855 !!! loop data not received, bytes received = 0
2020-07-15 23:11:40.613 !!! loop data not received, bytes received = 0
ftplog when i make ftp now.
020-07-15 18:12:33.229 FTP[Int]: CumulusMX Connecting to stravon.gr

# Connect()
Status: Connecting to 37.187.73.25:21
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 5 of 50 allowed.
Response: 220-Local time is now 18:12. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Status: Detected FTP server: PureFTPd
Command: USER stravon
Response: 331 User stravon OK. Password required
Command: PASS ***
Response: 230 OK. Current restricted directory is /
Command: FEAT
Response: 211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: MFMT
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: UTF8
Response: TVFS
Response: ESTA
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTP
Response: 211 End.
Status: Text encoding: System.Text.UTF8Encoding
Command: OPTS UTF8 ON
Response: 200 OK, UTF-8 enabled
Command: SYST
Response: 215 UNIX Type: L8
2020-07-15 18:12:34.797 FTP[Int]: Uploading Extra files

2020-07-15 18:12:34.797FTP[Int]: Uploading /home/pi/CumulusMX/realtime.txttmp to realtime.txt

# OpenWrite("realtime.txt", Binary)
Command: TYPE I
Response: 200 TYPE is now 8-bit binary

# GetFileSize("realtime.txt")
Command: SIZE realtime.txt
Response: 213 248

# OpenActiveDataStream(PORT, "STOR realtime.txt", 0)
Command: PORT 192,168,1,12,160,245
Response: 200 PORT command successful
Command: STOR realtime.txt
Response: 150 Connecting to port 41205
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.102 seconds (measured here), 2.38 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:35.403FTP[Int]: Completed uploading /home/pi/CumulusMX/realtime.txttmp to realtime.txt

2020-07-15 18:12:35.403FTP[Int]: Uploading /home/pi/CumulusMX/web/realtimegauges.txttmp to realtimegauges.txt

# OpenWrite("realtimegauges.txt", Binary)

# GetFileSize("realtimegauges.txt")
Command: SIZE realtimegauges.txt
Response: 213 1568

# OpenActiveDataStream(PORT, "STOR realtimegauges.txt", 0)
Command: PORT 192,168,1,12,135,233
Response: 200 PORT command successful
Command: STOR realtimegauges.txt
Response: 150 Connecting to port 34793
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.114 seconds (measured here), 13.46 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:35.903FTP[Int]: Completed uploading /home/pi/CumulusMX/web/realtimegauges.txttmp to realtimegauges.txt
2020-07-15 18:12:35.904 FTP[Int]: Uploading standard files

2020-07-15 18:12:35.904FTP[Int]: Uploading web/index.htm to public_html/stations/test/index.htm

# OpenWrite("public_html/stations/test/index.htm", Binary)

# GetFileSize("public_html/stations/test/index.htm")
Command: SIZE public_html/stations/test/index.htm
Response: 213 5667

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/index.htm", 0)
Command: PORT 192,168,1,12,149,123
Response: 200 PORT command successful
Command: STOR public_html/stations/test/index.htm
Response: 150 Connecting to port 38267
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.153 seconds (measured here), 36.15 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:36.434FTP[Int]: Completed uploading web/index.htm to public_html/stations/test/index.htm

2020-07-15 18:12:36.434FTP[Int]: Uploading web/today.htm to public_html/stations/test/today.htm

# OpenWrite("public_html/stations/test/today.htm", Binary)

# GetFileSize("public_html/stations/test/today.htm")
Command: SIZE public_html/stations/test/today.htm
Response: 213 5312

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/today.htm", 0)
Command: PORT 192,168,1,12,155,193
Response: 200 PORT command successful
Command: STOR public_html/stations/test/today.htm
Response: 150 Connecting to port 39873
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.170 seconds (measured here), 30.49 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:37.042FTP[Int]: Completed uploading web/today.htm to public_html/stations/test/today.htm

2020-07-15 18:12:37.043FTP[Int]: Uploading web/yesterday.htm to public_html/stations/test/yesterday.htm

# OpenWrite("public_html/stations/test/yesterday.htm", Binary)

# GetFileSize("public_html/stations/test/yesterday.htm")
Command: SIZE public_html/stations/test/yesterday.htm
Response: 213 5032

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/yesterday.htm", 0)
Command: PORT 192,168,1,12,132,221
Response: 200 PORT command successful
Command: STOR public_html/stations/test/yesterday.htm
Response: 150 Connecting to port 34013
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.146 seconds (measured here), 33.56 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:37.602FTP[Int]: Completed uploading web/yesterday.htm to public_html/stations/test/yesterday.htm

2020-07-15 18:12:37.602FTP[Int]: Uploading web/record.htm to public_html/stations/test/record.htm

# OpenWrite("public_html/stations/test/record.htm", Binary)

# GetFileSize("public_html/stations/test/record.htm")
Command: SIZE public_html/stations/test/record.htm
Response: 213 7751

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/record.htm", 0)
Command: PORT 192,168,1,12,141,7
Response: 200 PORT command successful
Command: STOR public_html/stations/test/record.htm
Response: 150 Connecting to port 36103
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.173 seconds (measured here), 43.69 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:38.156FTP[Int]: Completed uploading web/record.htm to public_html/stations/test/record.htm

2020-07-15 18:12:38.157FTP[Int]: Uploading web/trends.htm to public_html/stations/test/trends.htm

# OpenWrite("public_html/stations/test/trends.htm", Binary)

# GetFileSize("public_html/stations/test/trends.htm")
Command: SIZE public_html/stations/test/trends.htm
Response: 213 6175

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/trends.htm", 0)
Command: PORT 192,168,1,12,166,119
Response: 200 PORT command successful
Command: STOR public_html/stations/test/trends.htm
Response: 150 Connecting to port 42615
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.162 seconds (measured here), 37.19 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:38.736FTP[Int]: Completed uploading web/trends.htm to public_html/stations/test/trends.htm

2020-07-15 18:12:38.737FTP[Int]: Uploading web/gauges.htm to public_html/stations/test/gauges.htm

# OpenWrite("public_html/stations/test/gauges.htm", Binary)

# GetFileSize("public_html/stations/test/gauges.htm")
Command: SIZE public_html/stations/test/gauges.htm
Response: 213 10932

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/gauges.htm", 0)
Command: PORT 192,168,1,12,179,233
Response: 200 PORT command successful
Command: STOR public_html/stations/test/gauges.htm
Response: 150 Connecting to port 46057
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.210 seconds (measured here), 50.90 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:39.364FTP[Int]: Completed uploading web/gauges.htm to public_html/stations/test/gauges.htm

2020-07-15 18:12:39.364FTP[Int]: Uploading web/thismonth.htm to public_html/stations/test/thismonth.htm

# OpenWrite("public_html/stations/test/thismonth.htm", Binary)

# GetFileSize("public_html/stations/test/thismonth.htm")
Command: SIZE public_html/stations/test/thismonth.htm
Response: 213 7686

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/thismonth.htm", 0)
Command: PORT 192,168,1,12,148,201
Response: 200 PORT command successful
Command: STOR public_html/stations/test/thismonth.htm
Response: 150 Connecting to port 38089
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.182 seconds (measured here), 41.35 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:39.967FTP[Int]: Completed uploading web/thismonth.htm to public_html/stations/test/thismonth.htm

2020-07-15 18:12:39.967FTP[Int]: Uploading web/thisyear.htm to public_html/stations/test/thisyear.htm

# OpenWrite("public_html/stations/test/thisyear.htm", Binary)

# GetFileSize("public_html/stations/test/thisyear.htm")
Command: SIZE public_html/stations/test/thisyear.htm
Response: 213 7938

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/thisyear.htm", 0)
Command: PORT 192,168,1,12,137,239
Response: 200 PORT command successful
Command: STOR public_html/stations/test/thisyear.htm
Response: 150 Connecting to port 35311
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.179 seconds (measured here), 43.22 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:40.557FTP[Int]: Completed uploading web/thisyear.htm to public_html/stations/test/thisyear.htm

2020-07-15 18:12:40.557FTP[Int]: Uploading web/monthlyrecord.htm to public_html/stations/test/monthlyrecord.htm

# OpenWrite("public_html/stations/test/monthlyrecord.htm", Binary)

# GetFileSize("public_html/stations/test/monthlyrecord.htm")
Command: SIZE public_html/stations/test/monthlyrecord.htm
Response: 213 19365

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/monthlyrecord.htm", 0)
Command: PORT 192,168,1,12,165,73
Response: 200 PORT command successful
Command: STOR public_html/stations/test/monthlyrecord.htm
Response: 150 Connecting to port 42313
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.287 seconds (measured here), 65.99 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:41.253FTP[Int]: Completed uploading web/monthlyrecord.htm to public_html/stations/test/monthlyrecord.htm
2020-07-15 18:12:41.253 FTP[Int]: Uploading graph data files

2020-07-15 18:12:41.254FTP[Int]: Uploading web/graphconfig.json to public_html/stations/test/graphconfig.json

# OpenWrite("public_html/stations/test/graphconfig.json", Binary)

# GetFileSize("public_html/stations/test/graphconfig.json")
Command: SIZE public_html/stations/test/graphconfig.json
Response: 213 186

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/graphconfig.json", 0)
Command: PORT 192,168,1,12,151,233
Response: 200 PORT command successful
Command: STOR public_html/stations/test/graphconfig.json
Response: 150 Connecting to port 38889
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.103 seconds (measured here), 1.77 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:41.770FTP[Int]: Completed uploading web/graphconfig.json to public_html/stations/test/graphconfig.json

2020-07-15 18:12:41.770FTP[Int]: Uploading web/tempdata.json to public_html/stations/test/tempdata.json

# OpenWrite("public_html/stations/test/tempdata.json", Binary)

# GetFileSize("public_html/stations/test/tempdata.json")
Command: SIZE public_html/stations/test/tempdata.json
Response: 213 11725

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/tempdata.json", 0)
Command: PORT 192,168,1,12,169,61
Response: 200 PORT command successful
Command: STOR public_html/stations/test/tempdata.json
Response: 150 Connecting to port 43325
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.222 seconds (measured here), 51.69 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:42.394FTP[Int]: Completed uploading web/tempdata.json to public_html/stations/test/tempdata.json

2020-07-15 18:12:42.395FTP[Int]: Uploading web/pressdata.json to public_html/stations/test/pressdata.json

# OpenWrite("public_html/stations/test/pressdata.json", Binary)

# GetFileSize("public_html/stations/test/pressdata.json")
Command: SIZE public_html/stations/test/pressdata.json
Response: 213 1976

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/pressdata.json", 0)
Command: PORT 192,168,1,12,145,53
Response: 200 PORT command successful
Command: STOR public_html/stations/test/pressdata.json
Response: 150 Connecting to port 37173
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.123 seconds (measured here), 15.70 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:42.950FTP[Int]: Completed uploading web/pressdata.json to public_html/stations/test/pressdata.json

2020-07-15 18:12:42.950FTP[Int]: Uploading web/winddata.json to public_html/stations/test/winddata.json

# OpenWrite("public_html/stations/test/winddata.json", Binary)

# GetFileSize("public_html/stations/test/winddata.json")
Command: SIZE public_html/stations/test/winddata.json
Response: 213 3303

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/winddata.json", 0)
Command: PORT 192,168,1,12,146,17
Response: 200 PORT command successful
Command: STOR public_html/stations/test/winddata.json
Response: 150 Connecting to port 37393
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.135 seconds (measured here), 23.81 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:43.510FTP[Int]: Completed uploading web/winddata.json to public_html/stations/test/winddata.json

2020-07-15 18:12:43.511FTP[Int]: Uploading web/wdirdata.json to public_html/stations/test/wdirdata.json

# OpenWrite("public_html/stations/test/wdirdata.json", Binary)

# GetFileSize("public_html/stations/test/wdirdata.json")
Command: SIZE public_html/stations/test/wdirdata.json
Response: 213 2981

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/wdirdata.json", 0)
Command: PORT 192,168,1,12,129,143
Response: 200 PORT command successful
Command: STOR public_html/stations/test/wdirdata.json
Response: 150 Connecting to port 33167
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.134 seconds (measured here), 21.70 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:44.059FTP[Int]: Completed uploading web/wdirdata.json to public_html/stations/test/wdirdata.json

2020-07-15 18:12:44.059FTP[Int]: Uploading web/humdata.json to public_html/stations/test/humdata.json

# OpenWrite("public_html/stations/test/humdata.json", Binary)

# GetFileSize("public_html/stations/test/humdata.json")
Command: SIZE public_html/stations/test/humdata.json
Response: 213 3054

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/humdata.json", 0)
Command: PORT 192,168,1,12,172,163
Response: 200 PORT command successful
Command: STOR public_html/stations/test/humdata.json
Response: 150 Connecting to port 44195
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.128 seconds (measured here), 23.22 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:44.584FTP[Int]: Completed uploading web/humdata.json to public_html/stations/test/humdata.json

2020-07-15 18:12:44.584FTP[Int]: Uploading web/raindata.json to public_html/stations/test/raindata.json

# OpenWrite("public_html/stations/test/raindata.json", Binary)

# GetFileSize("public_html/stations/test/raindata.json")
Command: SIZE public_html/stations/test/raindata.json
Response: 213 3302

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/raindata.json", 0)
Command: PORT 192,168,1,12,156,249
Response: 200 PORT command successful
Command: STOR public_html/stations/test/raindata.json
Response: 150 Connecting to port 40185
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.136 seconds (measured here), 23.62 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:45.128FTP[Int]: Completed uploading web/raindata.json to public_html/stations/test/raindata.json

2020-07-15 18:12:45.128FTP[Int]: Uploading web/solardata.json to public_html/stations/test/solardata.json

# OpenWrite("public_html/stations/test/solardata.json", Binary)

# GetFileSize("public_html/stations/test/solardata.json")
Command: SIZE public_html/stations/test/solardata.json
Response: 213 4798

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/solardata.json", 0)
Command: PORT 192,168,1,12,173,29
Response: 200 PORT command successful
Command: STOR public_html/stations/test/solardata.json
Response: 150 Connecting to port 44317
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.142 seconds (measured here), 33.04 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:45.670FTP[Int]: Completed uploading web/solardata.json to public_html/stations/test/solardata.json

2020-07-15 18:12:45.670FTP[Int]: Uploading web/dailyrain.json to public_html/stations/test/dailyrain.json

# OpenWrite("public_html/stations/test/dailyrain.json", Binary)

# GetFileSize("public_html/stations/test/dailyrain.json")
Command: SIZE public_html/stations/test/dailyrain.json
Response: 213 36

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/dailyrain.json", 0)
Command: PORT 192,168,1,12,178,11
Response: 200 PORT command successful
Command: STOR public_html/stations/test/dailyrain.json
Response: 150 Connecting to port 45579
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.107 seconds (measured here), 336.77 bytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:46.187FTP[Int]: Completed uploading web/dailyrain.json to public_html/stations/test/dailyrain.json

2020-07-15 18:12:46.188FTP[Int]: Uploading web/sunhours.json to public_html/stations/test/sunhours.json

# OpenWrite("public_html/stations/test/sunhours.json", Binary)

# GetFileSize("public_html/stations/test/sunhours.json")
Command: SIZE public_html/stations/test/sunhours.json
Response: 213 35

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/sunhours.json", 0)
Command: PORT 192,168,1,12,130,247
Response: 200 PORT command successful
Command: STOR public_html/stations/test/sunhours.json
Response: 150 Connecting to port 33527
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.103 seconds (measured here), 338.77 bytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:46.699FTP[Int]: Completed uploading web/sunhours.json to public_html/stations/test/sunhours.json

2020-07-15 18:12:46.699FTP[Int]: Uploading web/dailytemp.json to public_html/stations/test/dailytemp.json

# OpenWrite("public_html/stations/test/dailytemp.json", Binary)

# GetFileSize("public_html/stations/test/dailytemp.json")
Command: SIZE public_html/stations/test/dailytemp.json
Response: 213 98

# OpenActiveDataStream(PORT, "STOR public_html/stations/test/dailytemp.json", 0)
Command: PORT 192,168,1,12,180,43
Response: 200 PORT command successful
Command: STOR public_html/stations/test/dailytemp.json
Response: 150 Connecting to port 46123
Status: Disposing FtpSocketStream...
Response: 226-File successfully transferred
Response: 226 0.100 seconds (measured here), 0.96 Kbytes per second
Status: Disposing FtpSocketStream...
2020-07-15 18:12:47.212FTP[Int]: Completed uploading web/dailytemp.json to public_html/stations/test/dailytemp.json
Command: QUIT
Response: 221-Goodbye. You uploaded 107 and downloaded 0 kbytes.
Response: 221 Logout.
Status: Disposing FtpSocketStream...
2020-07-15 18:12:47.322 FTP[Int]: Disconnected from stravon.gr

# Dispose()
Status: Disposing FtpClient object...
Status: Disposing FtpSocketStream...

# Dispose()
Status: Disposing FtpClient object...
The realtime-schedule with interval ftp works perfectly. Only webfiles not working.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Problem with FTP

Post by mcrossley »

stravon wrote: Wed 15 Jul 2020 2:43 pm - My console is the envoy. At this time i have only the console without ISS. On webpage i have data only for pressure and inside temperature & humidity. Is that a problem?
Yes. See - https://cumuluswiki.org/a/FAQ#Cumulus_i ... eb_uploads
stravon
Posts: 4
Joined: Wed 15 Jul 2020 2:28 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry - Pi3

Re: Problem with FTP

Post by stravon »

mcrossley wrote: Wed 15 Jul 2020 8:38 pm
stravon wrote: Wed 15 Jul 2020 2:43 pm - My console is the envoy. At this time i have only the console without ISS. On webpage i have data only for pressure and inside temperature & humidity. Is that a problem?
Yes. See - https://cumuluswiki.org/a/FAQ#Cumulus_i ... eb_uploads
Thank you very much. So when i wiil connect ISS with all the sensors ftp will work properly. It is the first time that i use cumulusMX so excuse me for stupid questions ! :D
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Problem with FTP

Post by mcrossley »

It should start working when you connect the external sensors. You can test it in the meantime by adding the entry mentioned in the FAQ to the ini file.
stravon
Posts: 4
Joined: Wed 15 Jul 2020 2:28 pm
Weather Station: Davis Vantage Pro2
Operating System: Raspberry - Pi3

Re: Problem with FTP

Post by stravon »

mcrossley wrote: Wed 15 Jul 2020 9:03 pm It should start working when you connect the external sensors. You can test it in the meantime by adding the entry mentioned in the FAQ to the ini file.
Yes it worked. I added the line from the FAQ. Thank you again !
Post Reply