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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Trying with WINSCP

Discussion specific to Fine Offset and similar rebadged weather stations
Post Reply
xavier
Posts: 8
Joined: Thu 07 Mar 2013 4:23 pm
Weather Station: PCE-FWS 20
Operating System: XP
Location: Lleida

Trying with WINSCP

Post by xavier »

Hi,
I have been trying upload files with Winscp and software works well. The problem appears with scripts. Cumulus can not update files.
I have write script in external programs but it doesn't work. I can upload only in a manual way. Could anyone help me, please?
Thanks
Xavier

PS I am not able to attach bat file, so I type it here:
"winscp.com/script=C:\cumulus\sftp-cmds.txt"
Last edited by steve on Fri 08 Mar 2013 9:27 pm, edited 1 time in total.
Reason: Deleted attachment with password
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Trying with WINSCP

Post by steve »

Your file had your password in it. I deleted it, here are the contents with the password redacted:

option batch abort
option confirm off
open jfranch:xxxxxxxxx@ftp.xtec.cat
put "C:\Cumulus\web\index.txt"/html
exit

What is the file index.txt? Shouldn't it be index.htm?
Steve
xavier
Posts: 8
Joined: Thu 07 Mar 2013 4:23 pm
Weather Station: PCE-FWS 20
Operating System: XP
Location: Lleida

Re: Trying with WINSCP

Post by xavier »

steve wrote:Your file had your password in it. I deleted it, here are the contents with the password redacted:

option batch abort
option confirm off
open jfranch:xxxxxxxxx@ftp.xtec.cat
put "C:\Cumulus\web\index.txt"/html
exit

What is the file index.txt? Shouldn't it be index.htm?

OK Steve, thanks to hide my password, and to advice me about index.txt.
I have changed this right now, but it doesn't upload anything. What are I doing wrong?

thanks
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Trying with WINSCP

Post by steve »

I'm afraid I don't know, I've never used WinSCP. I didn't write the wiki entry explaining how to use it. Presumably Cumulus is creating the index.htm file?

I'll see if I can add FTP over SSL/TLS to Cumulus, it may not be difficult. I can't test it myself, though, as my hosting doesn't do FTPS.
Steve
xavier
Posts: 8
Joined: Thu 07 Mar 2013 4:23 pm
Weather Station: PCE-FWS 20
Operating System: XP
Location: Lleida

Re: Trying with WINSCP

Post by xavier »

steve wrote:I'm afraid I don't know, I've never used WinSCP. I didn't write the wiki entry explaining how to use it. Presumably Cumulus is creating the index.htm file?

I'll see if I can add FTP over SSL/TLS to Cumulus, it may not be difficult. I can't test it myself, though, as my hosting doesn't do FTPS.
OK Steve! I think things will be easier if you can modify Cumulus in order to add FTP over TLS. I am waiting for this! While it arrive I will trying with WinSCP.

thanks a lot!

Xavier
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Trying with WINSCP

Post by steve »

Having looked at the component I use for FTP, it seems I would have to completely rewrite all of the ftp code in Cumulus in order to support FTPS. So I'm afraid that's unlikely to happen in the near future, sorry.
Steve
xavier
Posts: 8
Joined: Thu 07 Mar 2013 4:23 pm
Weather Station: PCE-FWS 20
Operating System: XP
Location: Lleida

Re: Trying with WINSCP

Post by xavier »

steve wrote:Having looked at the component I use for FTP, it seems I would have to completely rewrite all of the ftp code in Cumulus in order to support FTPS. So I'm afraid that's unlikely to happen in the near future, sorry.
OK! Steve. Don't worry. I understand everybody is very very busy. Me too. Fortunately, I am happy because of all is working fine. Cumulus active each 15 minutes batch files I wrote and update my webpage trough WINSCP. Now I am translating to catalan some pages.
I will be waiting for next updates of Cumulus, whenever you can.

Ciao
Xavier
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Trying with WINSCP

Post by steve »

xavier wrote:Cumulus active each 15 minutes batch files I wrote and update my webpage trough WINSCP.
Ah, well done. You're now the official WinSCP expert ;)
Steve
User avatar
paggaudet
Posts: 2
Joined: Mon 14 Jul 2014 7:59 pm
Weather Station: PCE-FWS 20
Operating System: Windows 7 32
Location: Canada
Contact:

Re: Trying with WINSCP

Post by paggaudet »

User avatar
ConligWX
Posts: 1572
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: Trying with WINSCP

Post by ConligWX »

xavier, I have had problems in the past with CumulusMX and ftp uploads though found the fix was to enable "FTP rename"
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
Post Reply