Differences

This shows you the differences between the selected revisions of the page.

2011-12-15 2012-03-12
Restored revision 1317285065. Undoing revision 1323934328. (martin) (hidden) no summary (161.185.158.21) (hidden)
Line 30: Line 30:
-===== Example of Support Request for Scripting ===== +The WinSCP client shows the timestamp of the files as one hour ahead after the daylight savings time has started yesterday. Please help.
-> Subject: **Trouble setting server timeout via command line** +
-+
-> 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'' switch to the end of my ''open'' command, WinSCP just bails out. No session log file is even created. If I remove the ''-timeout'' switch, it connects. +
-+
-> Here is the command line:\\ +
-> ''winscp.exe /console /script=test.txt /log=log.txt'' +
-+
-> Here is the script:\\ +
-> ''option batch abort''\\ +
-> ''option confirm off''\\ +
-> ''open user:pass@site -timeout=60''\\ +
-> ''option transfer binary''\\ +
-> ''get *05152008*''\\ +
-> ''close''\\ +
-> ''exit'' +
-+
-> After running the script I get following in console:\\ +
-> ''batch          abort''\\ +
-> ''confirm        off''\\ +
-> ''Too many parameters for command 'open'.'' +
-+
-> Using WinSCP 4.0.7 on Windows 2000.+
 +Jagdeep
 +sethij@finance.nyc.gov

Last modified: by 161.185.158.21