'Declaration <System.Runtime.CompilerServices.AsyncStateMachineAttribute(KellermanSoftware.NetSFtpLibrary.SFTP/d__227)> <System.Diagnostics.DebuggerStepThroughAttribute()> Public Function DownloadDirectoryInParallelAsync( _ ByVal localDirectory As System.String, _ ByVal sftpDirectory As System.String _ ) As System.Threading.Tasks.Task(Of List(Of TransferInfo))
'Usage Dim instance As SFTP Dim localDirectory As System.String Dim sftpDirectory As System.String Dim value As System.Threading.Tasks.Task(Of List(Of TransferInfo)) value = instance.DownloadDirectoryInParallelAsync(localDirectory, sftpDirectory)
[System.Runtime.CompilerServices.AsyncStateMachine(KellermanSoftware.NetSFtpLibrary.SFTP/d__227)] [System.Diagnostics.DebuggerStepThrough()] public System.Threading.Tasks.Task<List<TransferInfo>> DownloadDirectoryInParallelAsync( System.string localDirectory, System.string sftpDirectory )
public function DownloadDirectoryInParallelAsync( localDirectory: System.String; sftpDirectory: System.String ): System.Threading.Tasks.Task;
System.Runtime.CompilerServices.AsyncStateMachineAttribute(KellermanSoftware.NetSFtpLibrary.SFTP/d__227) System.Diagnostics.DebuggerStepThroughAttribute() public function DownloadDirectoryInParallelAsync( localDirectory : System.String, sftpDirectory : System.String ) : System.Threading.Tasks.Task;
[System.Runtime.CompilerServices.AsyncStateMachine(KellermanSoftware.NetSFtpLibrary.SFTP/d__227)] [System.Diagnostics.DebuggerStepThrough()] public: System.Threading.Tasks.Task<List<TransferInfo*>*>* DownloadDirectoryInParallelAsync( System.string* localDirectory, System.string* sftpDirectory )
[System.Runtime.CompilerServices.AsyncStateMachine(KellermanSoftware.NetSFtpLibrary.SFTP/d__227)] [System.Diagnostics.DebuggerStepThrough()] public: System.Threading.Tasks.Task<List<TransferInfo^>^>^ DownloadDirectoryInParallelAsync( System.String^ localDirectory, System.String^ sftpDirectory )
Parameters
- localDirectory
- The local path to put the directory
- sftpDirectory
- The SFTP directory to download
Return Value
A list of files transferred