Sandaysoft

Support forum for Cumulus weather station software
It is currently Fri May 24, 2013 2:10 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Dayfile.txt not being uploaded
PostPosted: Wed Aug 15, 2012 3:07 am 
Offline
User avatar

Joined: Tue Sep 09, 2008 3:37 am
Posts: 696
Location: Auckland, New Zealand
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 7 Pro
I have just noticed that my dayfile.txt is failing to upload to the website.
Attached 2 files. "dayfile28072012.txt" that is located on my website and "dayfile15082012.txt" located on the Cumulus computer.
The computer file is all current but the last entry in the website file is 27/7/2012.
Computer has been restarted a few times since 28th July.
Was there a mod around that time that could have affected the standard files uploading of dayfile.txt?
The rest of the website appears OK.


You do not have the required permissions to view the files attached to this post.

_________________
Terry Wiltshire
http://www.janter.co.nz/weather/index.htm
Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Wed Aug 15, 2012 6:36 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17600
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
What method are you using to upload the file? Cumulus has no built-in facility specifically for uploading dayfile.txt.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Wed Aug 15, 2012 10:10 am 
Offline
User avatar

Joined: Tue Sep 09, 2008 3:37 am
Posts: 696
Location: Auckland, New Zealand
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 7 Pro
I thought it was a "standard" file. Perhaps I was uploading as additional but there is nothing in the config showing that. Disappeared somehow.
It's been a while since I set that up. I'll just ftp as extra files in Cumulus.
That has fixed it.
Strange that the upload setting disappeared though?

_________________
Terry Wiltshire
http://www.janter.co.nz/weather/index.htm
Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Wed Aug 15, 2012 4:26 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1709
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
If you include it in the standard files it will be uploaded every x minutes rather than once a day.

I use Cumulus Toolbox to upload mine.

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Wed Aug 15, 2012 11:07 pm 
Offline
User avatar

Joined: Tue Sep 09, 2008 3:37 am
Posts: 696
Location: Auckland, New Zealand
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 7 Pro
Hi Ray
It's uploading OK now within Cumulus.
It was just strange that it stopped working in the first place.
You know the old story, "Nothing changed in the computer"
Actually, at around that time I did transfer Cumulus to a newer laptop but I can't see how that affected it.
Never mind...all go now.
The extra traffic required to upload as a Cumulus file everytime the other files are uploaded, 5 minutes, shouldn't be a problem but perhaps I'll upload once a day using a different ftp.
Must be a "senior moment" that I can't remember how I was doing it previously.

Just thought of something - look at the old laptop to jolt the memory.

_________________
Terry Wiltshire
http://www.janter.co.nz/weather/index.htm
Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Thu Aug 16, 2012 4:29 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1709
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Hi Terry,

If it's working now then fine but you might want to look at Cumulus Toolbox as you can just upload it once a day. The alternative is uploading it around 144 times each 24 hours which seems a bit excessive! ;)

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Thu Aug 16, 2012 5:00 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17600
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Or you could get Cumulus to do it once a day, as documented here: http://wiki.sandaysoft.com/a/Upload_Dayfile

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Thu Aug 16, 2012 6:32 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1709
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
You hid that well! :lol: Seems like a better option than using Toolbox.

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Fri Aug 17, 2012 3:26 am 
Offline
User avatar

Joined: Tue Sep 09, 2008 3:37 am
Posts: 696
Location: Auckland, New Zealand
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 7 Pro
Looked at the old laptop that was uploading the dayfile.txt. On the files upload page all I have is include standard files and images. No upload of the dayfile mentioned. It's got me fooled, easily done, as to how it was uploading. No other ftp progs running either so it must have been getting it via Cumulus somehow.
A mystery at present.

[edit]
Told you I was having a "Senior" moment. Old laptop was using the sheduleed tasks to upload. Problem solved!

_________________
Terry Wiltshire
http://www.janter.co.nz/weather/index.htm
Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Sat Aug 18, 2012 3:45 am 
Offline
User avatar

Joined: Tue Sep 09, 2008 3:37 am
Posts: 696
Location: Auckland, New Zealand
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 7 Pro
Still having FTP problems.
I get:-
C:\Cumulus\FTP-Data>ftp -a -s:daily.ftp linux11.digiweb.net.nz
Connected to linux11.digiweb.net.nz.
220 (vsFTPd 2.0.5)
User (linux11.digiweb.net.nz:(none)):
331 Please specify the password.
230 Login successful.
ftp> quote pasv
227 Entering Passive Mode (202,174,112,121,52,238)
ftp> cd www/weather/data
250 Directory successfully changed.
ftp> put c:\cumulus\data\dayfile.txt
500 Illegal PORT command.
ftp> bye
221 Goodbye.

C:\Cumulus\FTP-Data>pause
Press any key to continue . . .

I thought the 500 error was to do with not being passive mode but changing to passive does not stop the 500 error.

My daily.ftp file is:-
janterconz
xxxxxxxx
quote pasv
cd www/weather/data
put c:\cumulus\data\dayfile.txt
bye

Batch file is:-
ftp -a -s:daily.ftp linux11.digiweb.net.nz

Using the wiki setup does not work either. Previous XP laptop worked OK.

Seems to be something different in Windows 7?

_________________
Terry Wiltshire
http://www.janter.co.nz/weather/index.htm
Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Sat Aug 18, 2012 7:02 am 
Offline

Joined: Tue Oct 13, 2009 10:52 pm
Posts: 206
Location: Meyenheim, Alsace, FR
Weather Station: Oregon WMR928
Operating System: XP SP3
Hi,

My batch "upload.cmd"
Quote:
ftp -s:resultftp.txt


My ftp file "resultftp.txt"
Quote:
open FTP SERVER
LOGIN
PASSWORD
cd /data
put D:\Cumulus\data\dayfile.txt
quit


OK with Win XP
Not tested with W7

_________________
Laurent

Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Sat Aug 18, 2012 9:32 am 
Online
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2521
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Terry, you could try...
Super-T wrote:
cd www/weather/data
lcd c:\cumulus\data
put dayfile.txt
It may narrow the problem down?

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Sat Aug 18, 2012 9:50 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17600
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
If you're using the built-in Windows ftp command, my understanding is that if you do "quote pasv", that puts the server into passive mode, but the client is still in active mode, and hence issues an illegal PORT command.

I think you need a different ftp client if you want to use passive mode.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Sat Aug 18, 2012 10:34 am 
Online
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2521
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Good catch, I'd forgotten the MS client does not support passive mode.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Dayfile.txt not being uploaded
PostPosted: Sat Aug 18, 2012 10:48 pm 
Offline
User avatar

Joined: Tue Sep 09, 2008 3:37 am
Posts: 696
Location: Auckland, New Zealand
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 7 Pro
I tried the LCD Mark but no joy.
I notice that when I was using these scripts in XP I was using ftps in the batch file but that doesn't work in W7.
What Steve said about another FTP client reminded me about Moveit Freely that I had loaded in the XP laptop.
Moveit Freely allows more comms options and has fixed the problem.
I'm such a dummy :-/

Batch file
ftps -a -s:daily.ftp

ftp File
open linux11.digiweb.net.nz
janterconz
xxxxxxxxx
cd www/weather/data
put c:\cumulus\data\dayfile.txt
bye


Result
C:\Cumulus\FTP-Data>ftps -a -s:daily.ftp
ftp> 220 (vsFTPd 2.0.5)
Connected to linux11.digiweb.net.nz.
User: 331 Please specify the password.
Password: 230 Login successful.
ftp> 250 Directory successfully changed.
ftp> 227 Entering Passive Mode (202,174,112,121,23,201)
150 Ok to send data.
226 File receive OK.
ftp: 224440 bytes sent in 2.15Seconds 101.80Kbytes/sec.
ftp> 221 Goodbye.


All good....thanks guys.
Perhaps a mention of this in the wiki?

_________________
Terry Wiltshire
http://www.janter.co.nz/weather/index.htm
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group