Just an update on this...no obvious solutions in the router's control panel...it must just be some security stuff it's running on all the packets or who knows what, that is interrupting the interaction with the server, and due to timing or delays or ???? SG-View is dumping the connection.
Anyway, DOS batch scripting to the rescue, and Windows XP scheduled tasks. The main thing is getting the daily log file up to the server once a day for the server to process and create the graphs, etc. So I made a DOS batch file that looks like this:
@echo off
cd c:\path\to\SG-View\
For /F "tokens=1,2,3 delims=/ " %%A in ('Date /t') do @(
Set Day=%%A
Set Month=%%B
Set Year=%%C
)
echo user username> ftpcmd.dat
echo password>> ftpcmd.dat
echo cd /remote/directory/on/server/>> ftpcmd.dat
echo bin>> ftpcmd.dat
echo put "SGTData Data Log %Month%-%Day%-%Year%.xls">> ftpcmd.dat
echo quit>> ftpcmd.dat
ftp -n -s:ftpcmd.dat ftp.serverdomain.com
del ftpcmd.dat
And then I setup a scheduled task in XP (Start Menu->Accessories->System Tools->Scheduled Tasks) and it runs once a day after SG-View is supposed to have sent the file, as a backup in case the transfer fails, which it usually does.
Note that the grabbing the current date will be dependent on your locale settings. So you may have to change the token numbers and the order of the variable assignments. I have that computer set to provide the date in day/month/year structure, so the tokens are 1, 2 and 3, and the variable assignments are in accordance with that. If you have month/day/year, or a different delimiter string (delims), then you would need to make adjustments.
Obviously, the paths and username, password, server name, etc, would have to change to match your own setup if you're going to use this.
Good luck one and all with your systems.
--Julian
Solar Powered in Toronto -
www.yourturn.ca/solar