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.
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
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
Upload Dayfile With .bat file/Windows - How upload On Linux?
Moderator: mcrossley
-
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:
- 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: Upload Dayfile With .bat file/Windows - How upload On Li
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.
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
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?
I am checking out cURL. Any other methods available?
Sperry
Lake Jackson Weather
Lake Jackson Weather
- 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: Upload Dayfile With .bat file/Windows - How upload On Li
I've found lftp very usefulsperry russ wrote:I am checking out cURL. Any other methods available?
Code: Select all
sudo apt-get update
sudo apt-get install lftp
-
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
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
-s = Silent (not necesarry)
-m 10 = 10 seconds timeout rto upload this file, otherwise FTP upload error
I hope this helps
Jan
