Differences
This shows you the differences between the selected revisions of the page.
2016-01-27 | 2016-03-16 | ||
command pattern can be used for its side effect (martin) | 5.8.2 Bug 1396 Local custom commands for local files. (martin) | ||
Line 11: | Line 11: | ||
* 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. | * 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. | ||
* 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 [[guide_custom_commands_automation|WinSCP .NET assembly or scripting]]. | * 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 [[guide_custom_commands_automation|WinSCP .NET assembly or scripting]]. | ||
+ | * Local commands that work with local commands. The command can work completely with selected local files only. Or it can for example process the local somehow (compress them) and upload them to the remote server using own session (again, use the ''!S'' pattern as mentioned previously). &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. | ||