'Declaration <System.Runtime.CompilerServices.AsyncStateMachineAttribute(KellermanSoftware.NetSFtpLibrary.SFTP/d__228)> <System.Diagnostics.DebuggerStepThroughAttribute()> Public Function UploadDirectoryInParallelAsync( _ 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.UploadDirectoryInParallelAsync(localDirectory, sftpDirectory)
[System.Runtime.CompilerServices.AsyncStateMachine(KellermanSoftware.NetSFtpLibrary.SFTP/d__228)] [System.Diagnostics.DebuggerStepThrough()] public System.Threading.Tasks.Task<List<TransferInfo>> UploadDirectoryInParallelAsync( System.string localDirectory, System.string sftpDirectory )
public function UploadDirectoryInParallelAsync( localDirectory: System.String; sftpDirectory: System.String ): System.Threading.Tasks.Task;
System.Runtime.CompilerServices.AsyncStateMachineAttribute(KellermanSoftware.NetSFtpLibrary.SFTP/d__228) System.Diagnostics.DebuggerStepThroughAttribute() public function UploadDirectoryInParallelAsync( localDirectory : System.String, sftpDirectory : System.String ) : System.Threading.Tasks.Task;
[System.Runtime.CompilerServices.AsyncStateMachine(KellermanSoftware.NetSFtpLibrary.SFTP/d__228)] [System.Diagnostics.DebuggerStepThrough()] public: System.Threading.Tasks.Task<List<TransferInfo*>*>* UploadDirectoryInParallelAsync( System.string* localDirectory, System.string* sftpDirectory )
[System.Runtime.CompilerServices.AsyncStateMachine(KellermanSoftware.NetSFtpLibrary.SFTP/d__228)] [System.Diagnostics.DebuggerStepThrough()] public: System.Threading.Tasks.Task<List<TransferInfo^>^>^ UploadDirectoryInParallelAsync( 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