Hi all,
New user of Cumulus here...have used FreeWx for years on my Radio Shack WX-200 (WMR-900) but I really like Cumulus so far.
Problem: I created a custom HTML page for FTP upload using the tags supplied. When the file is processed and uploaded to my web server, the resulting HTML file is "0k" in size. The regular Cumulus HTML pages and images process and upload fine, its just the custom file that is empty.
I verified the tag symbols are true "<" and ">" and stripped the HTML code down to the bare minimum looking for something that might be tripping up the processing. I feel like this is something simple but I can't find a fix.
Thanks for any help out there.
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
Custom HTML Page Uploads as Zero k File
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Custom HTML Page Uploads as Zero k File
If you zip up your template file and attach it, I'll take a look. Is the 'tmp' file on your PC that Cumulus creates for upload also zero bytes?
Steve
-
BC12D
- Posts: 3
- Joined: Sun 09 Feb 2014 5:48 am
- Weather Station: Radio Shack WX-200
- Operating System: Windows XP
- Location: Wisconsin
Re: Custom HTML Page Uploads as Zero k File
The HTML file (zipped) is attached. Thank for taking a look!
I am not using the rename method so there is no .tmp file right now.
I am not using the rename method so there is no .tmp file right now.
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Custom HTML Page Uploads as Zero k File
There should be, on the PC, so that your template file doesn't get overwritten. The 'rename' option creates 'tmp' files on the FTP server.BC12D wrote:I am not using the rename method so there is no .tmp file right now.
If there's no tmp file on the PC, that's why you have a zero-length file on the server. I'll take a look at your template.
Steve
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Custom HTML Page Uploads as Zero k File
The problem is that the line endings are just CR rather than standard Windows CRLF, so the parser sees the file as one long line, and it can't cope with a line that long.
Steve
-
BC12D
- Posts: 3
- Joined: Sun 09 Feb 2014 5:48 am
- Weather Station: Radio Shack WX-200
- Operating System: Windows XP
- Location: Wisconsin
Re: Custom HTML Page Uploads as Zero k File
Steve, you were correct. I wrote the code in an HTML editor on a Mac but never checked it on the XP box. When I opened it in Notepad, I saw exactly what you saw. I pasted the code (on my Mac) into BBEdit and saved it with CRLF line breaks and all is well now.steve wrote:The problem is that the line endings are just CR rather than standard Windows CRLF, so the parser sees the file as one long line, and it can't cope with a line that long.
Thanks very much!
Pat