WinSCP Cumulus
Meteo
WinSCP script File:
option batch abort
option confirm off
open ftps:User:pass@server
-explicit
cd /your
path on the web server
put -neweronly C:\Users\Pag-Two\Documents\Cumulus\realtime.txt
put -neweronly C:\Users\Pag-Two\Documents\Cumulus\web\realtimegauges.txt
put -neweronly C:\Users\Pag-Two\Documents\Cumulus\web\index.htm
put -neweronly C:\Users\Pag-Two\Documents\Cumulus\web\gauges.htm
put -neweronly C:\Users\Pag-Two\Documents\Cumulus\web\images\
put -neweronly C:\Users\Pag-Two\Documents\Cumulus\web\today.htm
put -neweronly C:\Users\Pag-Two\Documents\Cumulus\web\yesterday.htm
put -neweronly C:\Users\Pag-Two\Documents\Cumulus\web\record.htm
put -neweronly C:\Users\Pag-Two\Documents\Cumulus\web\trends.htm
put -neweronly C:\Users\Pag-Two\Documents\Cumulus\web\thismonth.htm
put -neweronly C:\Users\Pag-Two\Documents\Cumulus\web\thisyear.htm
put -neweronly C:\Users\Pag-Two\Documents\Cumulus\web\monthlyrecord.htm
exit
User:pass@server = Your user name:password@server name -explicit (-explicit is for Cryptage TLS/SSL explicite)
bat file for WinSCP
"C:\Program Files (x86)\WinSCP\winscp.com" /script=WinSCP script File Replace space by " "
In my case
"C:\Program Files (x86)\WinSCP\winscp.com" /script=C:\Users\Pag-Two\Documents\Cumulus\Cumulus_FTP.txtFor create Cumulus_FTP.bat
open notepad, copy and paste this
and save as .bat not .txt
IN cumulus