I have a client with a slow FTP server, it takes 25 seconds or so to connect. Whenever i attempt to add the -timeout=xxx variable to the end of my open command, winscp just bails out. No session log file is even created. If i remove the -timeout variable, it attempts to work.
Here is the command line:
WinSCP3.exe /console /script=test.txt /log=log.txt
Here is the script:
option batch on
option confirm off
open user:pass@site -timeout=60
option transfer binary