Compartilhar via


DataLakeStoreFileSystemClient.BulkCopy Method

Definition

Performs the bulk copy and tracks the progress

public void BulkCopy (string destinationFolderPath, string accountName, string sourcePath, System.Threading.CancellationToken cmdletCancellationToken, int fileThreadCount = -1, bool recursive = false, bool overwrite = false, bool resume = false, bool isDownload = false, System.Management.Automation.Cmdlet cmdletRunningRequest = default, bool isBinary = false);
member this.BulkCopy : string * string * string * System.Threading.CancellationToken * int * bool * bool * bool * bool * System.Management.Automation.Cmdlet * bool -> unit
Public Sub BulkCopy (destinationFolderPath As String, accountName As String, sourcePath As String, cmdletCancellationToken As CancellationToken, Optional fileThreadCount As Integer = -1, Optional recursive As Boolean = false, Optional overwrite As Boolean = false, Optional resume As Boolean = false, Optional isDownload As Boolean = false, Optional cmdletRunningRequest As Cmdlet = Nothing, Optional isBinary As Boolean = false)

Parameters

destinationFolderPath
String

Destination folder path

accountName
String

Account name

sourcePath
String

Source folder or file path

cmdletCancellationToken
CancellationToken

Commandlet cancellation token

fileThreadCount
Int32

PerFileThreadCount

recursive
Boolean

If true then Enumeration of the subdirectories are done recursively

overwrite
Boolean

True if we want to overwrite existing destinations

resume
Boolean

Indicates that the file(s) being copied are a continuation of a previous file transfer

isDownload
Boolean

True if it is download else upload

cmdletRunningRequest
Cmdlet

Current Commandlet

isBinary
Boolean

Indicates that the file(s) being uploaded should be copied with no concern for new line preservation across appends

Applies to