Differences
This shows you the differences between the selected revisions of the page.
2013-05-29 | 2013-06-01 | ||
surround instead of enclose (martin) | session setting => site setting (martin) | ||
Line 23: | Line 23: | ||
| ''-explicitssl'' | Explicit SSL ([[ftps|FTPS protocol]] only) | | | ''-explicitssl'' | Explicit SSL ([[ftps|FTPS protocol]] only) | | ||
| ''-explicittls'' | Explicit TLS ([[ftps|FTPS protocol]] only) | | | ''-explicittls'' | Explicit TLS ([[ftps|FTPS protocol]] only) | | ||
- | | ''-rawsettings setting1=value1 setting2=value2 ...'' | Allows configuring any session 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''. | | + | | ''-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''. | |
XML log element: ''[[logging_xml|session]]'' | XML log element: ''[[logging_xml|session]]'' | ||
Line 42: | Line 42: | ||
Parameters mapping: [[session_url|Session URL]] in command parameter ''session_url'' needs to be separated to its components, which are to be stored into ''SessionOptions.HostName'' (''host'' component), ''SessionOptions.UserName'' (''username''), ''SessionOptions.Password'' (''password''), ''SessionOptions.PortNumber'' (''port'') and ''SessionOptions.Protocol'' (''sftp|ftp|ftps|scp://''). | Parameters mapping: [[session_url|Session URL]] in command parameter ''session_url'' needs to be separated to its components, which are to be stored into ''SessionOptions.HostName'' (''host'' component), ''SessionOptions.UserName'' (''username''), ''SessionOptions.Password'' (''password''), ''SessionOptions.PortNumber'' (''port'') and ''SessionOptions.Protocol'' (''sftp|ftp|ftps|scp://''). | ||
- | There is no direct mapping for opening stored session/site using ''site'' parameter, becase .NET assembly [[library_from_script#default_config|does not share configuration]] with graphical/scripting mode. You need to configure all your session settings directly in your code (using ''[[library_sessionoptions|SessionOptions]]'' class). | + | There is no direct mapping for opening stored session/site using ''site'' parameter, becase .NET assembly [[library_from_script#default_config|does not share configuration]] with graphical/scripting mode. You need to configure all your site settings directly in your code (using ''[[library_sessionoptions|SessionOptions]]'' class). |
Switches mapping: | Switches mapping: |