Timeout detected (control connection)
We have five monitoring stations which send three times a day a 200k zip file to a ftp server using a batch file and WinSCP. This works perfectly fine. However, every 9 days the zip file is larger (30 MB) and one station runs into trouble. This station connects to the internet over the mobile network. This connection isn't perfectly good but not bad either. At least we manage to access and control the station with TeamViewer.
To send the zip file the scheduler calls a batch file which contains this line:
The script file ftp.txt contains the following lines:
The problem starts with this:
Any help is appreciated.
To send the zip file the scheduler calls a batch file which contains this line:
CALL "%ProgramFiles%\WinSCP\winscp.com" /timeout=120 /ini=nul /script=ftp.txt /log="ftp.log" /loglevel=-1 /logsize=1M
The script file ftp.txt contains the following lines:
option batch on option confirm off open ftp://user:password@ftp.myserver.ch/ cd /mfm/noe/aqc0/data/gr_ro2 put c:\Transfer\*.zip close exit
It seems to re-try but fails with this error:Script: Timeout detected. (control connection)
I have attached the log file. Is there something I can do better, to make a successful transfer of a larger file with this station?The process cannot access the file because it is being used by another process.
Any help is appreciated.