var state = Guid.NewGuid(); using (cancellationToken.Register(() => sftp.AbortTransfer(state))) { await sftp.PutFileAsync(stream, remotePath, state); }
Welcome to Q&A forum for C# and VB.NET developers working with following .NET components:
Applications:
If you need immediate assistance, please contact us directly.