+1 vote
by (270 points)

var state = Guid.NewGuid();
using (cancellationToken.Register(() => sftp.AbortTransfer(state)))
{
    await sftp.PutFileAsync(stream, remotePath, state);
}

Applies to: Rebex SFTP

1 Answer

0 votes
by (150k points)
selected by
 
Best answer

by (270 points)
Great, thank you!
by (170 points)
Am I missing something, or is this still missing in the API?
by (150k points)
Still missing for now, unfortunately. We have not been progressing as quickly as expected during the pandemic, and some non-essential features have been postponed.
...