Differences

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

library_transferoperationresult 2018-10-29 library_transferoperationresult 2026-11-12 (current)
Line 8: Line 8:
<code csharp *> <code csharp *>
-public sealed class TransferOperationResult : OperationResultBase+public sealed class TransferOperationResult : OperationResultBase, ITransferOperationResult
</code> </code>
Line 14: Line 14:
Public NotInheritable Class TransferOperationResult Public NotInheritable Class TransferOperationResult
    Inherits OperationResultBase     Inherits OperationResultBase
 +    Implements ITransferOperationResult
</code> </code>
Line 20: Line 21:
| [[library_doc_collections|SessionRemoteExceptionCollection]] Failures | Collection of all errors that occured during batch operation. See ''[[library_sessionremoteexception|SessionRemoteException]]''. See also [[library_session#results|Capturing results of operations]]. Read-only. (Inherited from ''[[library_operationresultbase|OperationResultBase]]''.) | | [[library_doc_collections|SessionRemoteExceptionCollection]] Failures | Collection of all errors that occured during batch operation. See ''[[library_sessionremoteexception|SessionRemoteException]]''. See also [[library_session#results|Capturing results of operations]]. Read-only. (Inherited from ''[[library_operationresultbase|OperationResultBase]]''.) |
| bool IsSuccess | Is ''true'', if ''Failures'' is empty collection. Read-only. (Inherited from ''[[library_operationresultbase|OperationResultBase]]''.) | | bool IsSuccess | Is ''true'', if ''Failures'' is empty collection. Read-only. (Inherited from ''[[library_operationresultbase|OperationResultBase]]''.) |
-| [[library_doc_collections|TransferEventArgsCollection]] Transfers | Collection of transfers. See ''[[library_transfereventargs|TransferEventArgs]]''. Read-only. |+| [[library_doc_collections|TransferEventArgsCollection]] ==Transfers== | Collection of transfers. See ''[[library_transfereventargs|TransferEventArgs]]''. Read-only. |
===== Methods ===== ===== Methods =====
Line 27: Line 28:
===== Remarks ===== ===== Remarks =====
-Instance of the class is returned by ''[[library_session_getfiles|Session.GetFiles]]'' and ''[[library_session_putfiles|Session.PutFiles]]''.+This class can only be instantiated by the WinSCP assembly. To get an instance of the class, call ''[[library_session_getfiles|Session.GetFiles]]'' and ''[[library_session_putfiles|Session.PutFiles]]''.
===== Example ===== ===== Example =====
Line 34: Line 35:
==== Real-Life Examples ==== ==== Real-Life Examples ====
-  * [[library_example_recursive_search_text|Search recursively for text in remote directory / Grep files over SFTP/FTP protocol]]; +  * [[library_example_recursive_search_text|*]]; 
-  * [[library_example_recursive_download_custom_error_handling|Recursively download directory tree with custom error handling]]; +  * [[library_example_recursive_download_custom_error_handling|*]]; 
-  * [[library_example_find_duplicate_files|Find duplicate files in SFTP/FTP server]]; +  * [[library_example_find_duplicate_files|*]]; 
-  * [[faq_script_modified_files|How do I transfer new/modified files only?]].+  * [[faq_script_modified_files|*]].

Last modified: by 12.152.212.4