Differences

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

2005-08-11 2005-08-11
3.7.6 /privatekey (martin) public_key#private (martin)
Line 13: Line 13:
winscp3.exe /help winscp3.exe /help
</code> </code>
-The first syntax opens the stored session. The second creates the session specified by at least hostname, optionally by name of protocol, port number, username, password and initial remote path. In both cases, when only hostname is known, only Login dialog is shown with pre-filled hostname. Otherwise connection attempt is started immediately. If the remote path is not ended by slash (''/''), it is treated as path to file (or even directory) that should be downloaded. Parameter ''/privatekey'' specifies default private key file for all sessions. It is used when the particular session has no explicit key specified only.+The first syntax opens the stored session. The second creates the session specified by at least hostname, optionally by name of protocol, port number, username, password and initial remote path. In both cases, when only hostname is known, only Login dialog is shown with pre-filled hostname. Otherwise connection attempt is started immediately. If the remote path is not ended by slash (''/''), it is treated as path to file (or even directory) that should be downloaded. Parameter ''/privatekey'' specifies default [[public_key#private|private key file]] for all sessions. It is used when the particular session has no explicit key specified only.
With ''/upload'' parameter WinSCP uploads specified files to remote directory of session defined using one of the previous syntaxes. A dialog to set options is displayed first (Note that this is not intended for automation, see [[scripting]], but to allow [[integration#exporer_s_send_to_context_menu|Explorer's 'Send To' menu]] integration). With ''/upload'' parameter WinSCP uploads specified files to remote directory of session defined using one of the previous syntaxes. A dialog to set options is displayed first (Note that this is not intended for automation, see [[scripting]], but to allow [[integration#exporer_s_send_to_context_menu|Explorer's 'Send To' menu]] integration).

Last modified: by martin