I've recently installed cumulus and am trying to get it working with my Davis Vantage Pro 2 plus. I have the Cumulus software working and now i want to set up a website to display the data. I will be planing to winscp the files securely over to my website using a scripthttp://wiki.sandaysoft.com/a/SFTP. I have this script working and it downloads the files to my website. However i don't seem to be able to get this batch file to execute from Cumulus. I've attached some images of my setup.
External program is C:\Cumulus\WinSCP\winscp-script.bat
My script file, sftp-cmds.txt, and text file, sftp-cmds.txt, are copied below. I've run these files from the command promt and it works. I moved WinSCP to the cumulus directory as i thought the Program Files x86 might be stuffing up cumulus due to the spaces in the directory.
sftp-cmds.txt:
option batch abort
option confirm off
open ****.****@****.****.***.***
put "C:\Cumulus\realtime.txt" /home/wstat/public_html/
put "C:\Cumulus\web\index.htm" /home/wstat/public_html/
put "C:\Cumulus\web\today.htm" /home/wstat/public_html/
put "C:\Cumulus\web\yesterday.htm" /home/wstat/public_html/
put "C:\Cumulus\web\record.htm" /home/wstat/public_html/
put "C:\Cumulus\web\trends.htm" /home/wstat/public_html/
put "C:\Cumulus\web\gauges.htm" /home/wstat/public_html/
put "C:\Cumulus\web\thismonth.htm" /home/wstat/public_html/
put "C:\Cumulus\web\thisyear.htm" /home/wstat/public_html/
put "C:\Cumulus\web\monthlyrecord.htm" /home/wstat/public_html/
put "C:\Cumulus\web\images\*.png" /home/wstat/public_html/images/
exit
winscp-script.bat:
winscp.com /script=c:\cumulus\sftp-cmds.txt
Lastly, i want to have the solar gauges display on the gauges.htm page, specifically i want to see if the sun is shining (does solar value exceed 75% of theoreticala value). These images appear to be created in the images directory but the gauges.hml file is not made with them inserted. Do i need to change the options i've selected?
many thanks
oman


