Differences

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

2013-05-15 2013-05-29
library_powershell#enums (martin) surround instead of enclose (martin)
Line 17: Line 17:
| ''-privatekey=<key>''        | [[public_key#private|Private key]] path | | ''-privatekey=<key>''        | [[public_key#private|Private key]] path |
| ''-timeout=<sec>''          | Server response timeout | | ''-timeout=<sec>''          | Server response timeout |
-| ''%%-hostkey="<fingerprint>"%%'' | Specifies fingerprint of expected [[ssh#verifying_the_host_key|SSH host key]] (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept hostkey]] with the fingerprint. As the hostkey fingerprint contains spaces you need to enclose it in quotes. //Learn how to [[faq_script_hostkey|obtain host key fingerprint]]//. \\ In exceptional situations, when security is not required, you can use value ''*'' to accept any hostkey. In this case, script output and log file will include warning about insecure connection. &beta_feature \\ [[SFTP]] and [[SCP]] protocols only. |+| ''%%-hostkey="<fingerprint>"%%'' | Specifies fingerprint of expected [[ssh#verifying_the_host_key|SSH host key]] (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept hostkey]] with the fingerprint. As the hostkey fingerprint contains spaces you need to surround it by quotes. //Learn how to [[faq_script_hostkey|obtain host key fingerprint]]//. \\ In exceptional situations, when security is not required, you can use value ''*'' to accept any hostkey. In this case, script output and log file will include warning about insecure connection. &beta_feature \\ [[SFTP]] and [[SCP]] protocols only. |
| ''%%-certificate="<fingerprint>"%%'' | Specifies fingerprint of expected [[ftps#certificate|SSL/TLS certificate]] (or several fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept certificate]] with the fingerprint. \\ In exceptional situations, when security is not required, you can use value ''*'' to accept any certificate. In this case, script output and log file will include warning about insecure connection. &beta_feature \\ [[ftps|FTPS]] protocol only. | | ''%%-certificate="<fingerprint>"%%'' | Specifies fingerprint of expected [[ftps#certificate|SSL/TLS certificate]] (or several fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept certificate]] with the fingerprint. \\ In exceptional situations, when security is not required, you can use value ''*'' to accept any certificate. In this case, script output and log file will include warning about insecure connection. &beta_feature \\ [[ftps|FTPS]] protocol only. |
| ''-passive=on%%|%%off''                | Enables [[ui_login_connection#connection|passive]] (''=on'') or active (''=off'') transfer mode ([[FTP]] protocol only). | | ''-passive=on%%|%%off''                | Enables [[ui_login_connection#connection|passive]] (''=on'') or active (''=off'') transfer mode ([[FTP]] protocol only). |

Last modified: by martin