Differences

This shows you the differences between the selected revisions of the page.

2016-03-31 2016-03-31
official and optional extensions (martin) Link correction (if misunderstood, reject) (87.155.80.26)
Line 6: Line 6:
The extension file can include solely the metadata, if the defined custom command relies on standard tools only (such as [[commandline|WinSCP command-line]], [[scripting]], built-in Windows commands, etc.). Though typically the extension file will include an actual code too, that implements the extension. In that case the custom command definition will refer to the file itself using ''[[#name|%EXTENSION_PATH%]]'' variable and the extension metadata will be escaped using [[#syntax|"comments" syntax]] of the respective language. The language can be a Windows batch-file (potentially using the WinSCP [[scripting]]), a PowerShell script (potentially using [[library|WinSCP .NET assembly]]), or other language. The extension file can include solely the metadata, if the defined custom command relies on standard tools only (such as [[commandline|WinSCP command-line]], [[scripting]], built-in Windows commands, etc.). Though typically the extension file will include an actual code too, that implements the extension. In that case the custom command definition will refer to the file itself using ''[[#name|%EXTENSION_PATH%]]'' variable and the extension metadata will be escaped using [[#syntax|"comments" syntax]] of the respective language. The language can be a Windows batch-file (potentially using the WinSCP [[scripting]]), a PowerShell script (potentially using [[library|WinSCP .NET assembly]]), or other language.
-[[installation|WinSCP installer]] deploys some useful extensions, see the [[#example|Example]] section for a list.+[[installation|WinSCP installer]] deploys some useful extensions, see the [[#optionalextensions|Official Extensions]] section for a list.
===== Syntax ===== ===== Syntax =====
Line 53: Line 53:
  * [[library_example_zip_and_upload|Pack files to ZIP archive and upload it]].   * [[library_example_zip_and_upload|Pack files to ZIP archive and upload it]].
-===== Optional Extensions =====+===== [[optionalextensions]] Optional Extensions =====
You can install these optional extensions by using their page URL's in the //[[ui_pref_commands#extensions|Add Extension]]// command: You can install these optional extensions by using their page URL's in the //[[ui_pref_commands#extensions|Add Extension]]// command:
Line 78: Line 78:
  * [[guide_custom_commands_automation|Extending WinSCP with Custom commands that run .NET assembly or WinSCP script]].   * [[guide_custom_commands_automation|Extending WinSCP with Custom commands that run .NET assembly or WinSCP script]].
- 

Last modified: by 87.155.80.26