Differences
This shows you the differences between the selected revisions of the page.
2011-12-29 | 2011-12-29 | ||
"see example" is not needed (martin) | linking session events (martin) | ||
Line 23: | Line 23: | ||
| string LogPath | Path to store [[logging|session log file]] to. Default ''null'' mean, no session log file is created. | | | string LogPath | Path to store [[logging|session log file]] to. Default ''null'' mean, no session log file is created. | | ||
| bool Opened | Is session opened yet? ''true'', when ''Open'' was successfully called already. Read-only. | | | bool Opened | Is session opened yet? ''true'', when ''Open'' was successfully called already. Read-only. | | ||
- | | IList<string> Output | Output of WinSCP console session. See also ''OutputDataReceived'' event. Read-only. | | + | | IList<string> Output | Output of WinSCP console session. See also ''[[library_session_outputdatareceived|OutputDataReceived]]'' event. Read-only. | |
| TimeSpan Timeout | Maximal interval between two consecutive outputs from WinSCP console session, before exception is thrown. The default is one minute. | | | TimeSpan Timeout | Maximal interval between two consecutive outputs from WinSCP console session, before exception is thrown. The default is one minute. | | ||
Line 42: | Line 42: | ||
===== Events ===== | ===== Events ===== | ||
^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
- | | EventHandler<TransferArgs> FileTransferred | Invoked after file is downloaded or uploaded. | | + | | [[library_session_filetransferred|FileTransferred]] | Invoked after file is downloaded or uploaded. | |
- | | EventHandler<FailedArgs> Failed | Invoked when any error occurs. | | + | | [[library_session_failed|Failed]] | Invoked when any error occurs. | |
- | | EventHandler<DataReceivedEventArgs> OutputDataReceived | Invoked on output from WinSCP console session. See also ''Output'' property. | | + | | [[library_session_outputdatareceived|OutputDataReceived]] | Invoked on output from WinSCP console session. See also ''Output'' property. | |
===== Remarks ===== | ===== Remarks ===== | ||
Line 75: | Line 75: | ||
</code> | </code> | ||
- | Also for all failures the ''Session.Failed'' event is raised. | + | Also for all failures the ''[[library_session_failed|Session.Failed]]'' event is raised. |
~~NOTOC~~ | ~~NOTOC~~ | ||