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
Secure FTP
Moderator: daj
-
KJ4AJP
- Posts: 11
- Joined: Sat 26 Dec 2009 5:06 pm
- Weather Station: Fine Offset
- Operating System: XP SP3
- Location: NW TN, USA
- Contact:
Secure FTP
I may not be using the proper search terms, but I haven't found any recent info on this. My webhost will be requiring FTPS starting next month. I'm not sure if Cumulus will support this, I'm currently v1.9.2 build 1024, I saw a message saying v1.9.1 did not support FTPS. I also saw a year 2010 message saying most ISPs would eventually require secure FTP connections, so I'm hoping the ability has been implemented in Cumulus and I'm just too dense to know what boxes to check in Configuration>Internet Settings.
Thanks for any info and guidance!
--
Roger
Thanks for any info and guidance!
--
Roger
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Secure FTP
Cumulus does not currently support sftp, you will have to set up an external script(s) in order to use that protocol and get Cumulus to call them at the real time and web update intervals via the external programs settings.
-
duke
Re: Secure FTP
Not wishing to further increase Steve's work load. But, would it be out of the question for Cumulus to support SFTP in the future?
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Secure FTP
See http://wiki.sandaysoft.com/a/SFTP for instructions on how to set it up to work with Cumulus.
Steve
-
KJ4AJP
- Posts: 11
- Joined: Sat 26 Dec 2009 5:06 pm
- Weather Station: Fine Offset
- Operating System: XP SP3
- Location: NW TN, USA
- Contact:
Re: Secure FTP
Thanks Steve! I know "secure ftp" didn't return any results in the wiki, I thought I also tried "sftp" but I guess I didn't.
I'll give it a go and make a sheepish return if I flub it up...
--
Roger
I'll give it a go and make a sheepish return if I flub it up...
--
Roger
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Secure FTP
Note that there are (at least) two different secure FTP protocols, SFTP (SSH FTP) and FTPS (FTP over SSL). I believe WinSCP supports both, but you'll need to make sure you're using the correct one for your server.
Steve
-
KJ4AJP
- Posts: 11
- Joined: Sat 26 Dec 2009 5:06 pm
- Weather Station: Fine Offset
- Operating System: XP SP3
- Location: NW TN, USA
- Contact:
Re: Secure FTP
WinSCP is installed and connecting via FTPS to my webhost. I haven't created the batch file yet, not really sure how/where that's done but I'm searching the forum using WinSCP as the search term. Of course if someone wants to jump in...
One thing that I'm trying to figure out and haven't got to is, if WinSCP is going to be doing the transfer, are the current "Web Site" settings in Cumulus deleted and the settings in External Programs used instead?
--
Roger
One thing that I'm trying to figure out and haven't got to is, if WinSCP is going to be doing the transfer, are the current "Web Site" settings in Cumulus deleted and the settings in External Programs used instead?
--
Roger
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Secure FTP
Remove the ftp host name, then it knows it's not supposed to be doing the ftp, but will process all the files.KJ4AJP wrote:if WinSCP is going to be doing the transfer, are the current "Web Site" settings in Cumulus deleted
Steve
- yv1hx
- Posts: 223
- Joined: Mon 05 Apr 2010 10:40 pm
- Weather Station: No station yet ...
- Operating System: Win XP Professional
- Location: Some point in the Earth
Re: Secure FTP
Dear KJ4AJP:
Our server uses SFTP since a while ago, so we take advantage of the "external programs" features available in Cumulus (Thanks Steve!
) to upload our data and web pages, here is a example of our scripts:
Realtime script: (filename: Realtime_Upload.txt)
Web pages script: (filename: Webpages_Upload.txt)
Midnight script: (filename: SFTP_Midnight_Upload.bat)
Midnight script: (filename: SFTP_Midnight_Upload.txt)
You also need to configure the "External programs" section in the Internet config page:
Just my 2 cents.
Our server uses SFTP since a while ago, so we take advantage of the "external programs" features available in Cumulus (Thanks Steve!
Realtime script: (filename: Realtime_Upload.txt)
Code: Select all
option batch abort
option confirm off
option transfer binary
option include "*.zip; */"
open youruser:yourpassword@your.secure.server
# change local folder
lcd "C:\Cumulus\"
# change remote folder
cd /yourremotefolder
put "realtime.txt" realtime.txt
exit
Code: Select all
option batch abort
option confirm off
option transfer binary
option include "*.zip; */"
open youruser:yourpassword@your.secure.server
# change local folder
lcd "C:\Cumulus\web\"
# change remote folder
cd /yourremotefolder
put "index.htm" index.html
put "record.htm" record.html
put "thismonth.htm" thismonth.html
put "thisyear.htm" thisyear.html
put "today.htm" today.html
put "trends.htm" trends.html
put "yesterday.htm" yesterday.html
put "mobile.html" mobile.html
# change local folder
lcd "C:\Cumulus\web\images"
# change remote folder
cd /yourremotefolder/images
put "*.bmp"
put "*.png"
exit
Code: Select all
@echo off
title Automatic backup.
REM backups important all files in alternate unit
copy c:\cumulus\data\*.* G:\Cumulus_Data
copy c:\cumulus\web\*.htm G:\Cumulus_Data\web
copy c:\cumulus\*.ini G:\Cumulus_Data\
copy c:\cumulus\*.bat G:\Cumulus_Data\
copy c:\Cumulus\*.txt G:\Cumulus_Data\
REM Compress all data files for uploading to web server
C:\Cumulus\7za.exe u c:\cumulus\data\2012.zip c:\cumulus\data\*12log.txt
REM calls SFTP client to upload files
call C:\Cumulus\WinSCP.com "/script=SFTP_Midnight_Upload.bat" "exit"
Code: Select all
option batch abort
option confirm off
option transfer binary
option include "*.zip; */"
open youruser:yourpassword@your.secure.server
# change local folder
lcd "C:\Cumulus\data\"
# change remote folder
cd /yourremotefolder
# sync all local files with remote, only upload changed files
synchronize remote "C:\Cumulus\data\"
option include "*.txt; */"
# uploads 'dayfile.txt'
put "C:\Cumulus\data\dayfile.txt"
exit
Just my 2 cents.
You do not have the required permissions to view the files attached to this post.
Marco