Differences

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

2007-10-05 2007-10-05
no summary (70.68.139.244) i do no understand purpose of the example on the place (martin)
Line 14: Line 14:
</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. Special characters (like ''@'' in username) can be encoded using ''%XX'' syntax, where ''XX'' is hexadecimal ASCII 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. Special characters (like ''@'' in username) can be encoded using ''%XX'' syntax, where ''XX'' is hexadecimal ASCII code.
- 
-<code> 
-winscp.exe USERNAME:PASSWORD@www.example.com /console /script=backUp.txt 
-</code> 
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. 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.

Last modified: by martin