Differences
This shows you the differences between the selected revisions of the page.
| 2012-10-15 | 2013-05-07 | ||
| removing deprecated option exclude/include examples (martin) | Converting to .NET Assembly (martin) | ||
| Line 24: | Line 24: | ||
| </code> | </code> | ||
| + | ===== Converting to .NET Assembly ===== | ||
| + | When [[library_from_script|converting script to .NET Assembly]], map options as follows: | ||
| + | ^ Options ^ Mapping ^ | ||
| + | | ''echo'' | Irrelevant for .NET assembly. | | ||
| + | | ''batch'' | Read about [[library_from_script#mode|mapping scripting modes to .NET assembly]]. | | ||
| + | | ''confirm'' | .NET asembly is non-interactive, so confirmations are always off. | | ||
| + | | ''reconnecttime'' | Set ''[[library_session|Session.ReconnectTime]]''. | | ||
| + | |||
| + | For example the following most common script option prologue does not need any mapping to .NET assembly, providing you follow instructions for [[library_from_script#mode|mapping scripting modes to .NET assembly]] for individual batch operation commands. | ||
| + | |||
| + | <code winscp> | ||
| + | option batch abort | ||
| + | option confirm off | ||
| + | </code> | ||