PowerTCP FTP for .NET
CopyMode Enumeration



Enumerates the type of copy desired or performed.
Syntax
Public Enum CopyMode 
   Inherits System.Enum
Dim instance As CopyMode
public enum CopyMode : System.Enum 
public enum class CopyMode : public System.Enum 
Members
MemberDescription
Append Appends the source file to the destination file. Upon completion of a copy operation, indicates the source file was appended to the destination file.
Copy Uploads the entire file, overwriting any existing file. Upon completion of a copy operation, indicates the file was uploaded or overwritten.
Restart Resumes an incomplete transfer or overwrites the destination file if the source file has been changed. Upon completion of a copy operation, indicates the transfer was resumed.
Synchronize If the file timestamps and sizes match, no copy is performed. Otherwise a full copy is performed. Upon completion of a copy operation, indicates no copy was performed.
Remarks
CopyMode.Restart - If the file timestamps match and the source is larger than the destination, then the necessary trailing bytes from the source are appended to the destination. This mode should only be used to restart a failed copy. If the timestamps and sizes match, then no copy is performed (like CopyMode.Synchronize). If the timestamps do not match or the source is smaller than the destination, then a full copy is performed.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Dart.Ftp.CopyMode

See Also

Reference

Dart.Ftp Namespace


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic