commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2014-06-15 | 2014-07-14 | ||
Restored revision 1402640273. Undoing revision 1402791591. (martin) (hidden) | 5.6 Bug 14 Remote file can be opened for editing in a standalone internal editor using /edit command-line parameter. (martin) | ||
Line 7: | Line 7: | ||
winscp.exe <session_url>[/path/[file]] | winscp.exe <session_url>[/path/[file]] | ||
winscp.exe [mysession] [/newinstance] | winscp.exe [mysession] [/newinstance] | ||
+ | winscp.exe [mysession] /edit <path> | ||
winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults] | winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults] | ||
winscp.exe [mysession] /keepuptodate [local_directory] [remote_directory] [/defaults] | winscp.exe [mysession] /keepuptodate [local_directory] [remote_directory] [/defaults] | ||
Line 88: | Line 89: | ||
==== Operations ==== | ==== Operations ==== | ||
The following parameters can be used to create a shortcut that initiates operation in GUI mode. They are not intended for automation, for that see [[scripting]]. | The following parameters can be used to create a shortcut that initiates operation in GUI mode. They are not intended for automation, for that see [[scripting]]. | ||
+ | |||
+ | Use ''/edit'' to open a remote file in WinSCP [[ui_editor|internal editor]]. | ||
With ''/synchronize'' or ''/keepuptodate'' parameter WinSCP performs //Synchronize// or //Keep remote directory up to date// commands respectively on the specified session and directories. A dialog to set options is displayed first. | With ''/synchronize'' or ''/keepuptodate'' parameter WinSCP performs //Synchronize// or //Keep remote directory up to date// commands respectively on the specified session and directories. A dialog to set options is displayed first. |