Differences

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

2014-12-19 2015-02-18
5.6.4 Replaced FtpSecure.ExplicitTls .NET assembly option with FtpSecure.Explicit and deprecated FtpSecure.ExplicitSsl. (martin) releasing 5.7 stable, removing &beta tags (or replacing with &recent) (martin)
Line 16: Line 16:
^ Switch          ^ Description ^ ^ Switch          ^ Description ^
| ''-privatekey=<key>''        | [[public_key#private|SSH private key]] path. \\ [[SFTP]] and [[SCP]] protocols only. | | ''-privatekey=<key>''        | [[public_key#private|SSH private key]] path. \\ [[SFTP]] and [[SCP]] protocols only. |
-| ''-passphrase=<phrase>''    | Passphrase for encrypted private keys. &beta_feature \\ [[SFTP]] and [[SCP]] protocols only. |+| ''-passphrase=<phrase>''    | Passphrase for encrypted private keys. \\ [[SFTP]] and [[SCP]] protocols only. |
| ''-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 host key]] with the fingerprint. As the host key 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 host key. In this case, script output and log file will include warning about insecure connection. \\ [[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 host key]] with the fingerprint. As the host key 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 host key. In this case, script output and log file will include warning about insecure connection. \\ [[SFTP]] and [[SCP]] protocols only. |
Line 22: Line 22:
| ''-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). |
| ''-implicit''                | Implicit TLS/SSL ([[ftps|FTPS protocol]] only) | | ''-implicit''                | Implicit TLS/SSL ([[ftps|FTPS protocol]] only) |
-| ''-explicit''                | Explicit %%TLS/SSL%% ([[ftps|FTPS protocol]] only). //In versions prior to the latest beta release, use ''-explicittls''.// &beta |+| ''-explicit''                | Explicit %%TLS/SSL%% ([[ftps|FTPS protocol]] only). //In versions prior to the latest release, use ''-explicittls''.// &recent |
| ''-rawsettings setting1=value1 setting2=value2 ...'' | Allows configuring any site settings using [[rawsettings|raw format]] as in an INI file. E.g. to enable SSH compression and agent forwarding use ''-rawsettings Compression=1 AgentFwd=1''. The switch must come after session URL. | | ''-rawsettings setting1=value1 setting2=value2 ...'' | Allows configuring any site settings using [[rawsettings|raw format]] as in an INI file. E.g. to enable SSH compression and agent forwarding use ''-rawsettings Compression=1 AgentFwd=1''. The switch must come after session URL. |
Line 63: Line 63:
| ''-passive''      | Set ''[[library_sessionoptions|SessionOptions.FtpMode]]'' to ''FtpMode.Passive'' for ''on'' or ''FtpMode.Active'' \\ [[library_powershell#enums|Enumeration syntax]] in PowerShell is like ''[WinSCP.FtpMode]::Passive''. | | ''-passive''      | Set ''[[library_sessionoptions|SessionOptions.FtpMode]]'' to ''FtpMode.Passive'' for ''on'' or ''FtpMode.Active'' \\ [[library_powershell#enums|Enumeration syntax]] in PowerShell is like ''[WinSCP.FtpMode]::Passive''. |
| ''-implicit''      | Set ''[[library_sessionoptions|SessionOptions.FtpSecure]]'' to ''FtpSecure.Implicit'' (''[WinSCP.FtpSecure]::Implicit'' in PowerShell). | | ''-implicit''      | Set ''[[library_sessionoptions|SessionOptions.FtpSecure]]'' to ''FtpSecure.Implicit'' (''[WinSCP.FtpSecure]::Implicit'' in PowerShell). |
-| ''-explicit'', ''-explicittls'', ''-explicitssl'' | Set ''[[library_sessionoptions|SessionOptions.FtpSecure]]'' to ''FtpSecure.Explicit'' (''[WinSCP.FtpSecure]::Explicit'') or ''FtpSecure.ExplicitTls'' (''[WinSCP.FtpSecure]::ExplicitTls''), in versions //prior to the latest beta version//. &beta |+| ''-explicit'', ''-explicittls'', ''-explicitssl'' &recent | Set ''[[library_sessionoptions|SessionOptions.FtpSecure]]'' to ''FtpSecure.Explicit'' (''[WinSCP.FtpSecure]::Explicit'') or ''FtpSecure.ExplicitTls'' (''[WinSCP.FtpSecure]::ExplicitTls''), in versions //prior to the latest version//. &recent |
| ''-rawsettings''  | Call ''[[library_sessionoptions|SessionOptions.AddRawSettings]]'' for every key/value pair in switch parameters. | | ''-rawsettings''  | Call ''[[library_sessionoptions|SessionOptions.AddRawSettings]]'' for every key/value pair in switch parameters. |

Last modified: by martin