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"
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
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
Trying with WINSCP
-
- Posts: 8
- Joined: Thu 07 Mar 2013 4:23 pm
- Weather Station: PCE-FWS 20
- Operating System: XP
- Location: Lleida
Trying with WINSCP
Last edited by steve on Fri 08 Mar 2013 9:27 pm, edited 1 time in total.
Reason: Deleted attachment with password
Reason: Deleted attachment with password
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Trying with WINSCP
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?
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
-
- Posts: 8
- Joined: Thu 07 Mar 2013 4:23 pm
- Weather Station: PCE-FWS 20
- Operating System: XP
- Location: Lleida
Re: Trying with WINSCP
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
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Trying with WINSCP
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.
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
-
- Posts: 8
- Joined: Thu 07 Mar 2013 4:23 pm
- Weather Station: PCE-FWS 20
- Operating System: XP
- Location: Lleida
Re: Trying with WINSCP
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.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.
thanks a lot!
Xavier
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Trying with WINSCP
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
-
- Posts: 8
- Joined: Thu 07 Mar 2013 4:23 pm
- Weather Station: PCE-FWS 20
- Operating System: XP
- Location: Lleida
Re: Trying with WINSCP
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.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.
I will be waiting for next updates of Cumulus, whenever you can.
Ciao
Xavier
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Trying with WINSCP
Ah, well done. You're now the official WinSCP expertxavier wrote:Cumulus active each 15 minutes batch files I wrote and update my webpage trough WINSCP.
Steve
- ConligWX
- Posts: 1630
- 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
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 • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0