Page 2 of 3

Re: FTP feed for web site

Posted: Wed 24 Jun 2020 1:10 pm
by mcrossley
orion_jb2001 wrote: Wed 24 Jun 2020 12:19 pm Sorry not famliar on how to do that. When you say ftp client, to mean something like filezilla??
Yes, which folder did filezilla put you when you connected?

Re: FTP feed for web site

Posted: Wed 24 Jun 2020 1:30 pm
by orion_jb2001
actually the folder it has put me into just has a /

Re: FTP feed for web site

Posted: Wed 24 Jun 2020 1:32 pm
by orion_jb2001
that folder /should read cumulus, according to the ftp file manager

Re: FTP feed for web site

Posted: Wed 24 Jun 2020 1:40 pm
by orion_jb2001
orion_jb2001 wrote: Wed 24 Jun 2020 1:32 pm that folder /should read cumulus, according to the ftp file manager
ok went to the directory above the cumulus one, which is the public_html, which also showed that public_html as a / but underneath were all the other directories, including the cumulus one. So ye, yes under the cumulus@jeffbartlett.org ftp user id, it is takinf filezilla to the cumulus directory

Re: FTP feed for web site

Posted: Wed 24 Jun 2020 9:55 pm
by orion_jb2001
Any further suggestions??? :(

Re: FTP feed for web site

Posted: Wed 24 Jun 2020 10:22 pm
by orion_jb2001
From the logging over night, there seems to be a repeated error:

# OpenWrite("/home/jeffbart/public_html/cumulus/dailyrain.jsontmp", Binary)

# GetFileSize("/home/jeffbart/public_html/cumulus/dailyrain.jsontmp")
Command: SIZE /home/jeffbart/public_html/cumulus/dailyrain.jsontmp
Response: 550 Can't check for file existence

# OpenPassiveDataStream(AutoPassive, "STOR /home/jeffbart/public_html/cumulus/dailyrain.jsontmp", 0)
Command: EPSV
Response: 229 Extended Passive mode OK (|||59937|)
Status: Connecting to 103.18.109.182:59937
Command: STOR /home/jeffbart/public_html/cumulus/dailyrain.jsontmp
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...

# CloseDataStream()

2020-06-25 08:18:02.286FTP[Int]: Uploading web\sunhours.json to /home/jeffbart/public_html/cumulus/sunhours.json

# DeleteFile("/home/jeffbart/public_html/cumulus/sunhours.json")
Command: DELE /home/jeffbart/public_html/cumulus/sunhours.json
Response: 550 Could not delete /home/jeffbart/public_html/cumulus/sunhours.json: No such file or directory

# OpenWrite("/home/jeffbart/public_html/cumulus/sunhours.jsontmp", Binary)

# GetFileSize("/home/jeffbart/public_html/cumulus/sunhours.jsontmp")
Command: SIZE /home/jeffbart/public_html/cumulus/sunhours.jsontmp
Response: 550 Can't check for file existence

# OpenPassiveDataStream(AutoPassive, "STOR /home/jeffbart/public_html/cumulus/sunhours.jsontmp", 0)
Command: EPSV
Response: 229 Extended Passive mode OK (|||50742|)
Status: Connecting to 103.18.109.182:50742
Command: STOR /home/jeffbart/public_html/cumulus/sunhours.jsontmp
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...


550 and 553. for some reason, the system does not seem to be creating the tmp files. My web site is in perfect condition, showing all features, it is just stuck in time. :(

Re: FTP feed for web site

Posted: Wed 24 Jun 2020 10:28 pm
by Phil23
orion_jb2001 wrote: Wed 24 Jun 2020 12:19 pm When you say ftp client, to mean something like filezilla??
Yes, Get filezilla & then you an connect & see where things are being put.

As mark mentioned, when you connect with it using just your username & Pw it will be displaying the default folder you are connected to.

Bit like this.
Capture.JPG

Re: FTP feed for web site

Posted: Wed 24 Jun 2020 11:25 pm
by orion_jb2001
what is the best program to attach a bmp

Re: FTP feed for web site

Posted: Wed 24 Jun 2020 11:29 pm
by orion_jb2001
Ok here is the cut:
filzilla 2506.jpg
you will note the primary directory is showing by name / ??? It is the cumulus directory, but not sure why showing as a /..

Here is the log of the beginning of the ftp process, you will see it also refers to the restricted directory / //

Status: Connecting to 103.18.109.182:21
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 2 of 50 allowed.
Response: 220-Local time is now 17:56. 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 public_html@jeffbartlett.org
Response: 331 User public_html@jeffbartlett.org 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-06-24 17:56:00.384 FTP[Int]: Uploading Extra files
2020-06-24 17:56:00.384 FTP[Int]: Uploading standard files

2020-06-24 17:56:00.384FTP[Int]: Uploading web\index.htm to /home/jeffbart/public_html/index.htm

# OpenWrite("/home/jeffbart/public_html/index.htm", Binary)
Command: TYPE I
Response: 200 TYPE is now 8-bit binary

# GetFileSize("/home/jeffbart/public_html/index.htm")
Command: SIZE /home/jeffbart/public_html/index.htm
Response: 550 Can't check for file existence

Re: FTP feed for web site

Posted: Thu 25 Jun 2020 12:43 am
by orion_jb2001
Right I have gone back to the start. To test if the "files" would update, I loaded them into the ftp server, from the web folder. Got the web site showing, but not updates.

I have removed those files from the server and have got the basic 3 foders and weatherstyle.css. The program is up and running and it is not creating those web files I manually uploaded. There is the first and original problem.

And the latest star up log. You will note, it is logging into the server, but not that I can see file filezilla or ftp file monitor, creating the web files:

tatus: Connecting to 103.18.109.182:21
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 3 of 50 allowed.
Response: 220-Local time is now 10:40. 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 jeffbart
Response: 331 User jeffbart 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-06-25 10:40:00.352 FTP[Int]: Uploading Extra files
Command: QUIT
Response: 221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
Response: 221 Logout.
Status: Disposing FtpSocketStream...
2020-06-25 10:40:00.365 FTP[Int]: Disconnected from s9.cpcloud.com.au

# Dispose()
Status: Disposing FtpClient object...
Status: Disposing FtpSocketStream...
Status: Testing connectivity using Socket.Poll()...

# GetWorkingDirectory()
Command: PWD
Response: 257 "/" is your current location

2020-06-25 10:41:09.767FTP[5]: Uploading realtime.txt to /home/jeffbart/public_html/cumulus/realtime.txt

# OpenWrite("/home/jeffbart/public_html/cumulus/realtime.txttmp", Binary)

# GetFileSize("/home/jeffbart/public_html/cumulus/realtime.txttmp")
Command: SIZE /home/jeffbart/public_html/cumulus/realtime.txttmp
Response: 550 Can't check for file existence

# OpenPassiveDataStream(AutoPassive, "STOR /home/jeffbart/public_html/cumulus/realtime.txttmp", 0)
Command: EPSV
Response: 229 Extended Passive mode OK (|||55670|)
Status: Connecting to 103.18.109.182:55670
Command: STOR /home/jeffbart/public_html/cumulus/realtime.txttmp
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...

# CloseDataStream()

2020-06-25 10:41:09.818FTP[5]: Uploading web\realtimegauges.txt to /home/jeffbart/public_html/cumulus/realtimegauges.txt

# OpenWrite("/home/jeffbart/public_html/cumulus/realtimegauges.txttmp", Binary)

# GetFileSize("/home/jeffbart/public_html/cumulus/realtimegauges.txttmp")
Command: SIZE /home/jeffbart/public_html/cumulus/realtimegauges.txttmp
Response: 550 Can't check for file existence

# OpenPassiveDataStream(AutoPassive, "STOR /home/jeffbart/public_html/cumulus/realtimegauges.txttmp", 0)
Command: EPSV
Response: 229 Extended Passive mode OK (|||62580|)
Status: Connecting to 103.18.109.182:62580
Command: STOR /home/jeffbart/public_html/cumulus/realtimegauges.txttmp
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...

# CloseDataStream()

Re: FTP feed for web site

Posted: Thu 25 Jun 2020 12:53 am
by PaulMy
It seems that your Cumulusmx is now processing and uploading to www.jeffbartlett.org including realtimegauges.txt but trends are not working
However the needed webfiles i.e. weatherstyle.css are not at that jeff.bartlett.org location.
You also have xxxT.htm template files in your remote either by Cumulus or manual FTP http://www.jeffbartlett.org/todayT.htm These should not be on your webserver.


In your jeffbartlett.org/cumulus folder you have yesterday's (June 24) Cumulus processed and updated files including realtimegauges.txt and trends are there but outdated
And the webfiles are in that folder so you have a good website but updates are not occurring to this /cumulus folder

I suggest you start over - remove your added folders and files..
Add /cumulus in your public_html root folder as you had in October 2019 viewtopic.php?p=136072#p136072
Set Cumulus Internet settings Remote FTP directory to public_html/cumulus
Upload the \CumulusMX\webfiles folder content to public_html/cumulus

And you should be all set !x!

Enjoy,
Paul

EDIT: seems as I was typing this response you were making modifications so my assunptions may not be correct. However, I still recommend you start over and create a public_html\cumulus folder and set CumulusMX settings Remote FTP directory to public_html/cumulus
Paul

Re: FTP feed for web site

Posted: Thu 25 Jun 2020 1:17 am
by orion_jb2001
Further update. The latest version is up and running. The program is creating the web files into the web folder. So far though, none of those web files, from the web folder, have been uploaded to the server.

Re: FTP feed for web site

Posted: Thu 25 Jun 2020 1:21 am
by orion_jb2001
Paul, correct. I have established the ftp server and web site it creates is working, only by manually uploading the web files. As per my last post, the program is creating the web files, but they are not being uploaded, there I think lies the problem

Re: FTP feed for web site

Posted: Thu 25 Jun 2020 1:32 am
by PaulMy
Do you still have a /cumulus folder in your public_html root folder and have CumulusMX Internet settings Remote FTP directory to public_html/cumulus ?

Enjoy,
Paul

Re: FTP feed for web site

Posted: Thu 25 Jun 2020 1:33 am
by orion_jb2001
current cumulus 1124.jpg

As you can see Paul, that mentioned file is in place and the set up as per 2019 :)