Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Trying with WINSCP

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

Trying with WINSCP

Postby xavier » Fri Mar 08, 2013 8:32 pm

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 Mar 08, 2013 9:27 pm, edited 1 time in total.
Reason: Deleted attachment with password

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

Re: Trying with WINSCP

Postby steve » Fri Mar 08, 2013 9:28 pm

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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

xavier
Posts: 8
Joined: Thu Mar 07, 2013 4:23 pm
Weather Station: PCE-FWS 20
Operating System: XP
Location: Lleida

Re: Trying with WINSCP

Postby xavier » Fri Mar 08, 2013 9:57 pm

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: 26654
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Trying with WINSCP

Postby steve » Sat Mar 09, 2013 10:54 am

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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

xavier
Posts: 8
Joined: Thu Mar 07, 2013 4:23 pm
Weather Station: PCE-FWS 20
Operating System: XP
Location: Lleida

Re: Trying with WINSCP

Postby xavier » Sat Mar 09, 2013 12:22 pm

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: 26654
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Trying with WINSCP

Postby steve » Sun Mar 10, 2013 5:51 pm

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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

xavier
Posts: 8
Joined: Thu Mar 07, 2013 4:23 pm
Weather Station: PCE-FWS 20
Operating System: XP
Location: Lleida

Re: Trying with WINSCP

Postby xavier » Sun Mar 10, 2013 6:13 pm

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: 26654
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Trying with WINSCP

Postby steve » Sun Mar 10, 2013 6:17 pm

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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

User avatar
paggaudet
Posts: 2
Joined: Mon Jul 14, 2014 7:59 pm
Weather Station: PCE-FWS 20
Operating System: Windows 7 32
Location: Canada
Contact:

Re: Trying with WINSCP

Postby paggaudet » Mon Aug 13, 2018 1:11 am


User avatar
Toxic17
Posts: 677
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis VPro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: Trying with WINSCP

Postby Toxic17 » Mon Aug 13, 2018 7:04 am

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
https://www.conligwx.org/pws/
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image


Return to “Fine Offset/EasyWeather”

Who is online

Users browsing this forum: No registered users and 2 guests