Differences
This shows you the differences between the selected revisions of the page.
guide_dotnet 2019-06-20 | guide_dotnet 2020-12-25 (current) | ||
Line 14: | Line 14: | ||
===== Using WinSCP from .NET Code ===== | ===== Using WinSCP from .NET Code ===== | ||
+ | |||
==== [[running]] Running WinSCP Process ==== | ==== [[running]] Running WinSCP Process ==== | ||
To run ''[[executables|winscp.com]]'' use ''[[dotnet>system.diagnostics.process|System.Diagnostics.Process]]''. This class allows running any executable, possibly redirecting its standard input and output to a stream accessible from .NET code. Code below expects that ''winscp.com'' (''[[dotnet>system.diagnostics.processstartinfo.filename|ProcessStartInfo.FileName]]'') can be found in current working directory or in search path. You need to provide full path otherwise. | To run ''[[executables|winscp.com]]'' use ''[[dotnet>system.diagnostics.process|System.Diagnostics.Process]]''. This class allows running any executable, possibly redirecting its standard input and output to a stream accessible from .NET code. Code below expects that ''winscp.com'' (''[[dotnet>system.diagnostics.processstartinfo.filename|ProcessStartInfo.FileName]]'') can be found in current working directory or in search path. You need to provide full path otherwise. | ||
Line 95: | Line 96: | ||
</code> | </code> | ||
- | //See also guide to [[guide_interpreting_xml_log|interpreting XML log for advanced scripting]].// | + | //See also guide to [[guide_interpreting_xml_log|*]].// |
==== [[exit]] Waiting for script to complete ==== | ==== [[exit]] Waiting for script to complete ==== |