• View Communities
    • Citrix Developer Network
      The place for unfiltered straight talk on Citrix products. Blogs, code downloads, best practices, APIs, and more can all be found here.
    • Citrix Ready Community Verified
      Does it work with Citrix? Application compatibility questions are a thing of the past with the new Citrix Community Verified site.
    • Blogs
      Learn the latest from the Citrix employees who are building application delivery infrastructure technologies.
    • Blogosphere
      The Citrix Blogosphere is a window into the thousands of conversations taking place about Citrix and Application Delivery.
  •  Sign In
Workflow Studio Developer Network

CopyFiles

CopyFiles

Copies one or more files to the destination folder specified. Wildcard characters (* and ?) may be used.

Properties

DestinationDirectories
Type: System.ComponentModel.BindingList`1[[Citrix.WorkflowStudio.CustomActivities.Editors.FolderWithConstructor, CustomActivityPropertyEditors, Version=1.0.0.0, Culture=neutral, PublicKeyToken=36841176f080fbec]]
Specifies, through the 'Destination Folder(s)' dialog, one or more folder(s) to contain the files that match the 'File Name' criteria. The files will be copied to all the folders specified.

SourceFolder
Type: System.String
Specifies, through the 'Browse for Folder' dialog, the folder that contains the files to be copied.

FileName
Type: System.String
Specifies the pattern to match on file names. Wildcard characters (* and ?) may be used. Use a colon ( to separate file names.

IncludeSubDirectories
Type: System.Object
Specifies (True or False) whether to include sub-folders in the search for files. If you include sub-folders, any files matching your criteria that are found in sub-folders beneath the 'Source Folder' will be copied to the 'Destination Folder' location and placed in the same folder structure used under the 'Source Folder'. Defaults to False. You can also bind this parameter to a conditional.

CreateDestinationFolder
Type: System.Object
Specifies (True or False) whether to create the destination folder if it does not exist. Defaults to True. You can also bind this parameter to a conditional.

OverwriteExistingFiles
Type: System.Object
Specifies (True or False) whether to overwrite files if any exist. Defaults to False. You can also bind this parameter to a conditional.

StopCopyOnException
Type: System.Object
Specifies (True or False) whether to stop copying files when any condition causes a file copy to fail. Defaults to False. You can also bind this parameter to a conditional.

Int32Output
Type: System.Int32
Contains a count of the number of files that were copied. This is a read-only output parameter.

Enter tags to add to this page:
Please wait 
Looking for a tag? Just start typing.
Related Links