The following tables list the members exposed by TransferOptions.

      Public Constructors

      NameDescription
      Public ConstructorsTransferOptions ConstructorOverloaded. Initializes a new instance of the TransferOptions class.
      Top

      Public Properties

      NameDescription
      Public PropertiesAutoSelectFallbackChecksumAlgorithmGets or sets a boolean value indicating whether to automatically select the best checksum algorithm when the PreferredChecksumType algorithm is not available for either source or destination file system.
      Public PropertiesBuildDirectoryTreeGets or sets a boolean value indicating whether to retrieve directory structure before the multi-file operation (e.g. transferring or deleting multiple files and directories). (Inherited from MultiFileOperationOptions)
      Public PropertiesComparerSpecifies a custom file comparer used to compare source and destination files to determine whether to overwrite an existing target file. It can only be used when the property FileOverwriteMode of a transfer option object was set to CustomCompare.
      Public PropertiesCreateEmptyDirectoriesGets or sets a boolean value indicating whether to allow copying empty directories from the source file system to the destination file system. The default value is Auto - the component automatically determines whether to create new empty directories. For example, if the files to transfer are limited by a search pattern "*.cs", only the folders that have files with the ".cs" extension are created. Yes value indicates that directories are always created on the target system regardless whether they are empty or containing contents; No value indicates that empty directories will not be created on the target system.
      Public PropertiesDeleteEmptyDirectoriesGets or sets a boolean value indicating whether to delete empty directories when moving or transferring files and directories with MoveFiles option enabled. The default value is true - empty directories are to be removed.
      Public PropertiesDestAuthenticationParametersSpecifies the source file system's authentication parameters. This option is for remote file system, including FTP, SFTP, and SCP file systems only. (Inherited from MultiFileOperationOptions)
      Public PropertiesDestConnectionParametersSpecifies the source file system's connection parameters. This option is for remote file system, including FTP, SFTP, and SCP file systems only. (Inherited from MultiFileOperationOptions)
      Public PropertiesFileOverwriteModeSpecifies action taken when the destination file already exists. The default value is Overwrite. For example, if OverwriteFilesWithDifferentSizes is used, existing files with the same names and different size will be overwritten.
      Public PropertiesFlattenGets or sets a value indicating whether to copy files to the destination base directory, without persisting the directory structure of the source files. For example: if "Dir1/File1.dat" and "Dir2/File2.dat" are the source files and "/RemoteDir" on an FTP server is the destination base directory, "File1.dat" and "File2.dat" are uploaded to "/RemoteDir" and remote folder "Dir1" and "Dir2" are not created.
      Public PropertiesMoveFilesGets or sets a boolean value indicating whether to move files from the source directory to the destination directory.
      Public PropertiesPreferredChecksumTypeGets or sets the preferred checksum type used to compare checksums of a source file with a destination file when a target file with the same name exists.
      Public PropertiesRecheckItemExistenceGets or sets a value indicating whether to force checking whether the currently processing item still exists. If not, the TransferConfirm event is raised.
      Public PropertiesRecursiveGets or sets the recursion mode indicating whether to allow scanning subdirectories for files. The default value is true. (Inherited from MultiFileOperationOptions)
      Public PropertiesRenamingPatternGets or sets the pattern that is used to rename existing files if FileOverwriteMode is set to Rename. When this property is a null reference and the FileOverwriteMode is set to Rename, the value "{name}({num}).{ext}" is used as the new name pattern. In the pattern, "{name}" represents name of file (e.g. "My file"), "{ext}" represents extensions of file (e.g. ".dat") and "{num}" represents an incremental number.
      Public PropertiesRetainFileListGets or sets a boolean value indicating whether to retain the FileList list while executing the multi-file operation and after it completes, making it possible to access information of all processed files and directories. (Inherited from MultiFileOperationOptions)
      Public PropertiesSearchConditionSpecifies search condition. (Inherited from MultiFileOperationOptions)
      Public PropertiesSearchConditionCombinedWithMasksInSourcePathGets or sets a boolean value indicating whether to combine (AND logical operator) the wildcard masks found in the source path method parameter with the SearchCondition property in this transfer option object. (Inherited from MultiFileOperationOptions)
      Public PropertiesSrcAuthenticationParametersSpecifies the source file system's authentication parameters. This option is for remote file system, including FTP, SFTP, and SCP file systems only. (Inherited from MultiFileOperationOptions)
      Public PropertiesSrcConnectionParametersSpecifies the source file system's connection parameters. This option is for remote file system, including FTP, SFTP, and SCP file systems only. (Inherited from MultiFileOperationOptions)
      Public PropertiesSymlinksResolveActionSpecifies action taken when a symlink has been found. (Inherited from MultiFileOperationOptions)
      Public PropertiesTimeResolutionGets or sets a value which specifies granularity for time comparisons if the FileOverwriteMode property is OverwriteOlderFiles.
      Top

      Public Methods

      NameDescription
      Public MethodsCloneCreates a shallow copy of this option object.
      Top

      See Also