Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

Upload Dayfile With .bat file/Windows - How upload On Linux?

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
sperry russ
Posts: 89
Joined: Mon 30 Jan 2012 5:09 pm
Weather Station: Davis Vantage Pro 2 Cabled
Operating System: Windows 7
Location: Central Florida USA
Contact:

Upload Dayfile With .bat file/Windows - How upload On Linux?

Post by sperry russ »

I just discovered an error message while running MX on Linux that it could not upload my dayfile with .bat file. What would be the way to do that on Linux? I did some searching but at the moment don't see a solution.

Thanks.
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Upload Dayfile With .bat file/Windows - How upload On Li

Post by mcrossley »

Cumulus can do the upload for you, but if you want to do it from the command line I'd use cURL which I use for moving backup files around.

On my phone at the mo so I don't have the syntax to hand but there is a man page online.
sperry russ
Posts: 89
Joined: Mon 30 Jan 2012 5:09 pm
Weather Station: Davis Vantage Pro 2 Cabled
Operating System: Windows 7
Location: Central Florida USA
Contact:

Re: Upload Dayfile With .bat file/Windows - How upload On Li

Post by sperry russ »

On my windows machine that is what I am doing. In the external programs box using the .bat file Cumulus1 uploads the dayfile once a day. And, I could list the dayfile in the uploaded webfiles section of Cumulus1 or CumulusMX but that uploads it every time I update my website, in this case every 15 minutes.

I am checking out cURL. Any other methods available?
User avatar
rogerthn
Posts: 506
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: Upload Dayfile With .bat file/Windows - How upload On Li

Post by rogerthn »

sperry russ wrote:I am checking out cURL. Any other methods available?
I've found lftp very useful

Code: Select all

sudo apt-get update
sudo apt-get install lftp
Image
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: Upload Dayfile With .bat file/Windows - How upload On Li

Post by jank »

curl -s -m 10 /path/to/source_file ftp://"$FTPHOST":"$FTPPORT""$FTPDIR"/ --user "$FTPUSER":"$FTPPASS"

-s = Silent (not necesarry)
-m 10 = 10 seconds timeout rto upload this file, otherwise FTP upload error

I hope this helps

Jan
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
TgT
Posts: 132
Joined: Thu 26 Jun 2008 5:51 am
Weather Station: Davis VP2 + Solar
Operating System: A20 TV box + CumulusMX
Location: Slov.Konjice, Slovenia
Contact:

Re: Upload Dayfile With .bat file/Windows - How upload On Li

Post by TgT »

Good stuff, last two posts :clap:
Image
Locked