# # SSL All Sky Camera Uploader # Copyright (C) 2015 Liam O'Brien # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # #Automatically abort script on errors option batch abort #Disable overwrite confirmations option confirm off #Connect to SFTP server using a password (provided in customized .txt file for your node) #enter user name and password below, don't forget the colon open sftp://NODE#:PASSWORD@71.43.0.42 -hostkey="privided in customized .txt file for your node" #Upload files #first in the line is the local directory second is the server side directory (server side is case sensitive) synchronize remote C:\YOUR LOCAL EVENTS DIRECTORY /home/node#/Data/events #Disconnect (can change to "exit" when tested and working OK) close