Differences
This shows you the differences between the selected revisions of the page.
2011-07-31 | 2011-09-15 | ||
scripting#commands (martin) | session logging (martin) | ||
Line 14: | Line 14: | ||
* Browse for ''WinSCP.exe'' executable, and setup other task properties (like period of execution). | * Browse for ''WinSCP.exe'' executable, and setup other task properties (like period of execution). | ||
* In advanced properties 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 command may look like: \\ ''"C:\Program Files\WinSCP\WinSCP.exe" /command "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 advanced properties 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 command may look like: \\ ''"C:\Program Files\WinSCP\WinSCP.exe" /command "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|logging to file]]. | + | * You may want to use ''/log'' parameter to turn on [[logging|session logging to file]]. |
===== Further Reading ===== | ===== Further Reading ===== |