Differences
This shows you the differences between the selected revisions of the page.
2012-03-24 | 2012-04-19 | ||
reverting most changes, no explanation given for using winscp.com instead of winscp.exe, general hint for debugging script does not belong to this guide (martin) | no summary (24.140.156.41) | ||
Line 20: | Line 20: | ||
* In //Add arguments// add appropriate WinSCP [[commandline|command-line]] parameters to execute the [[scripting#commands|scripting commands]] you need (typically you will use ''/script'' or ''/command'' parameters). \\ The resulting arguments may look like: \\ ''%%/command "option batch abort" "option confirm off" "open user:password@example.com" "put d:\examplefile.txt /home/user/" "exit"%%'' \\ Note that the command-line parameter ''/console'' was not specified, what makes ''WinSCP.exe'' not show the console window, not to disturb you while you are using your workstation. | * In //Add arguments// add appropriate WinSCP [[commandline|command-line]] parameters to execute the [[scripting#commands|scripting commands]] you need (typically you will use ''/script'' or ''/command'' parameters). \\ The resulting arguments may look like: \\ ''%%/command "option batch abort" "option confirm off" "open user:password@example.com" "put d:\examplefile.txt /home/user/" "exit"%%'' \\ Note that the command-line parameter ''/console'' was not specified, what makes ''WinSCP.exe'' not show the console window, not to disturb you while you are using your workstation. | ||
* You may want to use ''/log'' parameter to turn on [[logging|session logging to file]]. | * You may want to use ''/log'' parameter to turn on [[logging|session logging to file]]. | ||
+ | * If using //Start In (Optional)// the "Start In" path must not be surrounded by quotes. | ||
* When done, click //Next//, review your options and confirm with //Finish//. | * When done, click //Next//, review your options and confirm with //Finish//. | ||