Timeout detected. (control connection)
I've now finished everything I need... just now need to automate the pulling down of files/ folders.
I'm still testing using command prompt until the script is perfect, but on large files I'm receiving "timeout detected. (control connection)"... any suggestions?
My batch file is:
The WINSCPFULL script is:
I'm still testing using command prompt until the script is perfect, but on large files I'm receiving "timeout detected. (control connection)"... any suggestions?
My batch file is:
"C:\Program Files (x86)\WinSCP\WinSCP.com" /log="I:\SeedboxAuto\WinSCP.log" /ini=nul /script="I:\SeedboxAuto\WINSCPFULL.txt" if %ERRORLEVEL% neq 0 goto error :error echo Error! exit /b 1
The WINSCPFULL script is:
# Connect open ftp://MASKED -rawsettings ProxyPort=0 # Download TV Shows newer than 2 minutes then delete cd "/media/TV" get -delete -filemask=<2N * "I:\TV-I\" # Download Films newer than 2 Minutes then delete cd /media/Films get -delete -filemask=<2N * "E:\Films-E\" # Disconnect close # Exit WinSCP exit