Differences
This shows you the differences between the selected revisions of the page.
2019-03-29 | 2019-07-22 | ||
https://www.php.net/ (martin) | powershell (martin) | ||
Line 104: | Line 104: | ||
See [[guide_dotnet|guide to using WinSCP from .NET]]. | See [[guide_dotnet|guide to using WinSCP from .NET]]. | ||
- | ===== [[external]] External script interpreters (PHP, Perl, etc) ===== | + | ===== [[external]] External script interpreters (PowerShell, PHP, Perl, etc) ===== |
If you are familiar with other scripting languages, you can use those. | If you are familiar with other scripting languages, you can use those. | ||
- | Note that while you may find installing new scripting engine to Windows troublesome, you may not need to install anything actually. E.g. for using PHP interpreter, you can just grab the [[https://www.php.net/downloads.php|Windows binary PHP zip package]] and extract ''php.exe'' and ''php7ts.dll'' files out of it. These two binaries alone support most (if not all) features you need. No installing or registration is required. | + | All versions of Windows since Windows XP have PowerShell available. With PowerShell, it is more convenient to use [[library_powershell|WinSCP .NET assembly]], than the simple scripting. There are lot of [[library_examples|examples of use of the WinSCP .NET assembly in PowerShell]]. |
+ | |||
+ | If you want to use your another favorite scripting language, but you do not have it on your Windows machine, you may find installing it troublesome. But you may not need to install anything actually. E.g. for using PHP interpreter, you can just grab the [[https://www.php.net/downloads.php|Windows binary PHP zip package]] and extract ''php.exe'' and ''php7ts.dll'' files out of it. These two binaries alone support most (if not all) features you need. No installing or registration is required. | ||
Having the two binaries you can execute PHP script ''example.php'': | Having the two binaries you can execute PHP script ''example.php'': |