Differences
This shows you the differences between the selected revisions of the page.
2014-12-23 | 2015-01-13 | ||
stored or remembered (martin) | 5.6.5 Local custom commands can optionally be executed with remote file paths. (martin) | ||
Line 6: | Line 6: | ||
===== [[types]] Types of Custom Commands ===== | ===== [[types]] Types of Custom Commands ===== | ||
- | There are basically four types of custom commands: | + | There are basically these types of custom commands: |
* Remote or local commands that do not work with files. These can be executed any time. | * Remote or local commands that do not work with files. These can be executed any time. | ||
* Remote commands that are executed on remote servers with remote files. These commands can modify the files. You must have remote files selected first in order to execute the command. | * Remote commands that are executed on remote servers with remote files. These commands can modify the files. You must have remote files selected first in order to execute the command. | ||
* Local commands that are executed on the local machine with remote files downloaded to a [[temp_folders|temporary folder]]. You must have remote files selected first in order to execute the command. If the command modifies the files, the changes are uploaded to the server (&beta_feature) | * Local commands that are executed on the local machine with remote files downloaded to a [[temp_folders|temporary folder]]. You must have remote files selected first in order to execute the command. If the command modifies the files, the changes are uploaded to the server (&beta_feature) | ||
+ | * Local commands that are executed on the local machine with paths to a remote files. Such commands will typically operate on the files over their own session (use ''!S'' pattern to pass current session settings to the command). The command may use [[library|WinSCP .NET assembly]] or [[scripting]]. &beta_feature | ||
* Special type is a local command that is executed with both local and remote files. This is particularly useful for running "diff" tools. This type is available only with the [[ui_commander|Commander interface]]. You can execute these commands on a set of remote files against the the same number of local files (once for each pair). Another option is to execute it on a set of remote files against one local file (once for each remote file) and vice versa. | * Special type is a local command that is executed with both local and remote files. This is particularly useful for running "diff" tools. This type is available only with the [[ui_commander|Commander interface]]. You can execute these commands on a set of remote files against the the same number of local files (once for each pair). Another option is to execute it on a set of remote files against one local file (once for each remote file) and vice versa. | ||