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

Saving File(s) to Local Computer

From Cumulus MX version 3 build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since, and has recently released Cumulus MX version 4. 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
golfgod56
Posts: 3
Joined: Wed 27 Jul 2016 10:48 pm
Weather Station: Ambient Weather
Operating System: Windows 10
Location: Illinois

Saving File(s) to Local Computer

Post by golfgod56 »

I have a few files that are set up to be processed and then output the result to a folder inside the CumulusMX folder on one of my computers. I have 2 files listed in the "Extra Web Files" under settings. One uploads to my webserver and the other is NOT saving locally. I can send both to my server and then get them back via HTTP File Settings, but would obviously like to skip the upload and immediate download. Not sure if the format of the Destination Filename is incorrect. Log states:

2024-12-16 13:15:53.581 FTP[160]: Error uploading \\WXPC\CumulusMX\Tony\bit1.txt : Error while uploading the file to the server. See InnerException for more info.
2024-12-16 13:15:53.581 FTP[160]: Inner Exception: Code: 553 Message: Can't open that file: No such file or directory


The bolded/underlined text is the Destination Filename. Changing it to C:\CumulusMX.... doesn't change anything. Again, works fine if the destination is a web server.

Any help would be greatly appreciated!
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Saving File(s) to Local Computer

Post by PaulMy »

Hi,
Not sure if the format of the Destination Filename is incorrect.
I had a couple extra web files working and these are set as relative to the \CumulusMX folder i.e. \CumulusMX\interface/ and \CumulusMX\web/

Code: Select all

Local Filename		Destination Filename

realtime.txt		interface/realtime2.txt
web\currcondT.txt	web/currcond.txt
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Saving File(s) to Local Computer

Post by SamiS »

golfgod56 wrote: Mon 16 Dec 2024 7:46 pm The bolded/underlined text is the Destination Filename. Changing it to C:\CumulusMX.... doesn't change anything. Again, works fine if the destination is a web server.

Any help would be greatly appreciated!
Your local computer is not running an ftp server, so you cannot upload to it. Instead you should use ”local copy” feature, that is also defined under internet settings before uploads. I haven’t used it myself, so I can’t give exact instructions.
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Saving File(s) to Local Computer

Post by water01 »

As stated above you are not running a local FTP server so you cannot FTP to do this.

If you want a copy of any of the files that MX produces in Internet Settings > Web/Upload Site there is a setting called Local copy destination folder path:, set this to the local path on your PC. Then any files you are telling it to copy in Standard File Settings, Graph File Settings and Daily Graph File Settings will be copied there.

In your case as you are using extra web files to do this copy you will have to set up a network Disk i.e. Z:\ that points to \\WXPC\CumulusMX\Tony\ ( I have assumed that \\XWPC is the network computer name) and then tell CumulusMX to copy it to Z:\ in the destination folder i.e. Z:\bit1.txt.
David
Image
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Saving File(s) to Local Computer

Post by PaulMy »

@SamiS, @water01,
What @golfgod56 wants to do will work fine in current CMX that was implemented some time ago, process a template file and uploadsave it (send/save to the local C:\CumulusMX\subfolder) to whatever subfolder he wishes, rather than to a remote site - see the settings snippet in my earlier post. He just needs to have the correct name and path of the Local Filename, and also in the Destination Filename, and Enable. On the Destination Filename side, tick: Process if it is a template with webtags, Realtime if needed, I don't believe you have to tick Upload, UTF8 and Binary, and not sure on End of Day or Incremental as my extra files didn't need that.

Maybe I haven't explained it well.

Enjoy,
Paul
Last edited by PaulMy on Mon 16 Dec 2024 10:57 pm, edited 1 time in total.
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
golfgod56
Posts: 3
Joined: Wed 27 Jul 2016 10:48 pm
Weather Station: Ambient Weather
Operating System: Windows 10
Location: Illinois

Re: Saving File(s) to Local Computer

Post by golfgod56 »

Thanks all of you for the ideas. Was able to find a solution:

Almost too easy....UNCHECK Upload on the Extra Web Files page.

MXDiags now is showing:

2024-12-16 16:14:40.607 Realtime[30]: Copying extra file \\WXPC\CumulusMX\web\bit1.tmp to C:\CumulusMX\web\temp.txt
2024-12-16 16:14:40.607 Realtime[30]: Processing extra file \\WXPC\CumulusMX\web\bit1.tmp
2024-12-16 16:14:40.620 Realtime[30]: Real time upload files starting
2024-12-16 16:14:40.620 Realtime[30]: Real time files complete

Again, thanks for the input and a starting point
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Saving File(s) to Local Computer

Post by SamiS »

PaulMy wrote: Mon 16 Dec 2024 9:53 pm Maybe I haven't explained it well.
We speak the same language but not. :lol:

You were right on saying that the destination filename and path must be correct. But the actual error seen on the log was caused by the upload being ticked, and thus cmx trying to use ftp instead of file copy. And that bit of information was missing from your original answer.

Anyway, glad to see that the problem was resolved.
Post Reply