Differences
This shows you the differences between the selected revisions of the page.
2019-03-27 | 2019-07-25 | ||
5.15 released - !E should be used now instead of !S (martin) | stable 5.15 released long time ago - !E should be used now instead of !S (martin) | ||
Line 10: | Line 10: | ||
* 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. | * 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 ''!E'' or ''!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 files. The command can work completely with selected local files only. Or it can for example process the local file somehow (e.g. compress them) and upload them to the remote server using own session (again, use the ''!S'' pattern as mentioned previously). | + | * Local commands that work with local files. The command can work completely with selected local files only. Or it can for example process the local file somehow (e.g. compress them) and upload them to the remote server using own session (again, use the ''!E'' or ''!S'' pattern as mentioned previously). |
* 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. | ||