Differences
This shows you the differences between the selected revisions of the page.
2013-05-14 | 2013-05-15 | ||
syntax and remarks headings (martin) | powershell (martin) | ||
Line 50: | Line 50: | ||
| ''-hostkey'' | Set ''[[library_sessionoptions|SessionOptions.SshHostKeyFingerprint]]''. | | | ''-hostkey'' | Set ''[[library_sessionoptions|SessionOptions.SshHostKeyFingerprint]]''. | | ||
| ''-certificate'' | Set ''[[library_sessionoptions|SessionOptions.SslHostCertificateFingerprint]]''. | | | ''-certificate'' | Set ''[[library_sessionoptions|SessionOptions.SslHostCertificateFingerprint]]''. | | ||
- | | ''-passive'' | Set ''[[library_sessionoptions|SessionOptions.FtpMode]]'' to ''FtpMode.Passive'' for ''on'' or ''FtpMode.Active'' for ''off''. | | + | | ''-passive'' | Set ''[[library_sessionoptions|SessionOptions.FtpMode]]'' to ''FtpMode.Passive'' (''[WinSCP.FtpMode]::Passive'' in [[library_powershell|PowerShell]]) for ''on'' or ''FtpMode.Active'' (''[WinSCP.FtpMode]::Active'') for ''off''. | |
- | | ''-implicit'' | Set ''[[library_sessionoptions|SessionOptions.FtpSecure]]'' to ''FtpSecure.Implicit''. | | + | | ''-implicit'' | Set ''[[library_sessionoptions|SessionOptions.FtpSecure]]'' to ''FtpSecure.Implicit'' (''[WinSCP.FtpSecure]::Implicit'' in PowerShell). | |
- | | ''-explicitssl'' | Set ''[[library_sessionoptions|SessionOptions.FtpSecure]]'' to ''FtpSecure.ExplicitSsl''. | | + | | ''-explicitssl'' | Set ''[[library_sessionoptions|SessionOptions.FtpSecure]]'' to ''FtpSecure.ExplicitSsl'' (''[WinSCP.FtpSecure]::ExplicitSsl''). | |
- | | ''-explicittls'' | Set ''[[library_sessionoptions|SessionOptions.FtpSecure]]'' to ''FtpSecure.ExplicitTls''. | | + | | ''-explicittls'' | Set ''[[library_sessionoptions|SessionOptions.FtpSecure]]'' to ''FtpSecure.ExplicitTls'' (''[WinSCP.FtpSecure]::ExplicitTls''). | |
| ''-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. | | ||
Line 62: | Line 62: | ||
</code> | </code> | ||
- | maps to following PowerShell code: | + | maps to following [[library_powershell|PowerShell]] code: |
<code powershell> | <code powershell> |