Setup SEOW Radar from local machine to remote SEOW webserver
Posted: Wed 14 Dec 2011 3:29 am
Courtesy of Air Group 51 / AG-51 Hawg
www.AirGroup51.net
****************************************************
****************************************************
Courtesy of AG-51 Hawg
SEOW Radar from local machine game host to remote SEOW webserver.
Prerequisites; The assumption is you will need to move file from Computer A to Server B on a continual basis for some period of time. Most of the instruction that follows is going to be done on Computer A. Server B will need to have either "SSH" or "FTP" enabled with a user account that is “homed” to the directory that you will ultimately need your file moved to. If this is not the case then your file will make it to the server but will not be used in the manner you expect, that is to say they won't be used at all.
You will need to download and install a copy of WinSCP from
http://winscp.net/eng/download.php
I would recommend getting the latest non-beta version available.
Install using all the default settings then launch the program.
The fist thing you will need to do is set the local directory. On the left you will see Environment listed and beneath that you should see Directories. Click Directories and you want to point the Local Directory to wherever your flies are coming from on Computer A
The second thing you will need to do is create a new connection profile. So click on the New button.
Put in the name or IP of the destination where you would like to move files. Following the example this would be the name or IP of Server B.
Then you will need to enter the user name and password for SSH or FTP . If your using SSH you can click SAVE. Save the session as session1. Note if you use another session name the scrip we write later will need to be modified accordingly.
Next you will have to browse to the WinSCP application folder. Typically this will be C:\Program Files\WinSCP . Create a new text document and type the following;
open session1
synchronize remote
exit
Save your text file as remote.txt
Now we have to schedule WinSCP to push this info up to the Server B. With Windows XP you can schedule this to run ever minute. With Windows7 and probably Vista I think the best you can get is every 5 minutes but I am not 100% certain.
The directions for XP are here ;
Follow these directions however when you select a program you want to use WinSCP.exe not PHP.exe as in the example.
NOTE you will have to provide the scheduler with a windows account on your machine that has a PASSWORD and is preferably a member of the Administrators group. I have tried it with account with blank passwords and it never seems to work.
http://support.qualityunit.com/knowledg ... ndows.html
Now you should have WinSCP set up to run every minute on what ever schedule you like.
The last thing we need to do is call that script we made earlier. So go back to Scheduled Tasks window.
If you closed it you can find it through START → Programs → Accessories → System Tools → Scheduled Tasks. Then add the following to the end for your Run command.
/script=remote.txt
You run command needs to look similar to this;
“C:\Program Files\WinSCP\WinSCP.exe” /script=remote.txt
You can test it by right clicking on the job in Scheduled Tasks and selecting Run.
When setting up your "Scheduled Tasks" you can set the time to a couple hours before you normaly fly and set duration to 5 or more hours.
FYI, you do have to purge or delete copies of the files made in your game install in RadarLogs folder and delete files on the server before running your next mission.
Works great for us! Enjoy.
www.AirGroup51.net
****************************************************
****************************************************
Courtesy of AG-51 Hawg
SEOW Radar from local machine game host to remote SEOW webserver.
Prerequisites; The assumption is you will need to move file from Computer A to Server B on a continual basis for some period of time. Most of the instruction that follows is going to be done on Computer A. Server B will need to have either "SSH" or "FTP" enabled with a user account that is “homed” to the directory that you will ultimately need your file moved to. If this is not the case then your file will make it to the server but will not be used in the manner you expect, that is to say they won't be used at all.
You will need to download and install a copy of WinSCP from
http://winscp.net/eng/download.php
I would recommend getting the latest non-beta version available.
Install using all the default settings then launch the program.
The fist thing you will need to do is set the local directory. On the left you will see Environment listed and beneath that you should see Directories. Click Directories and you want to point the Local Directory to wherever your flies are coming from on Computer A
The second thing you will need to do is create a new connection profile. So click on the New button.
Put in the name or IP of the destination where you would like to move files. Following the example this would be the name or IP of Server B.
Then you will need to enter the user name and password for SSH or FTP . If your using SSH you can click SAVE. Save the session as session1. Note if you use another session name the scrip we write later will need to be modified accordingly.
Next you will have to browse to the WinSCP application folder. Typically this will be C:\Program Files\WinSCP . Create a new text document and type the following;
open session1
synchronize remote
exit
Save your text file as remote.txt
Now we have to schedule WinSCP to push this info up to the Server B. With Windows XP you can schedule this to run ever minute. With Windows7 and probably Vista I think the best you can get is every 5 minutes but I am not 100% certain.
The directions for XP are here ;
Follow these directions however when you select a program you want to use WinSCP.exe not PHP.exe as in the example.
NOTE you will have to provide the scheduler with a windows account on your machine that has a PASSWORD and is preferably a member of the Administrators group. I have tried it with account with blank passwords and it never seems to work.
http://support.qualityunit.com/knowledg ... ndows.html
Now you should have WinSCP set up to run every minute on what ever schedule you like.
The last thing we need to do is call that script we made earlier. So go back to Scheduled Tasks window.
If you closed it you can find it through START → Programs → Accessories → System Tools → Scheduled Tasks. Then add the following to the end for your Run command.
/script=remote.txt
You run command needs to look similar to this;
“C:\Program Files\WinSCP\WinSCP.exe” /script=remote.txt
You can test it by right clicking on the job in Scheduled Tasks and selecting Run.
When setting up your "Scheduled Tasks" you can set the time to a couple hours before you normaly fly and set duration to 5 or more hours.
FYI, you do have to purge or delete copies of the files made in your game install in RadarLogs folder and delete files on the server before running your next mission.
Works great for us! Enjoy.