Expected Behavior
dapr closes SFTP connection once file is uploaded correctly, throws error if SFTP connection was not successfully closed
Actual Behavior
dapr does not close SFTP connection which causes the uploaded file to not be downloadable
Steps to Reproduce the Problem
use dapr binding to upload file to SFTP server, try and download file via tool like WinSCP (our testcase) once file is visible in the tool
Release Note
RELEASE NOTE: FIX Bug closing SFTP connection after successful upload
Screenshots
From: https://github.com/dapr/components-contrib/blob/main/bindings/sftp/sftp.go
Method we use:
Method we expect to be called:
Potential code changes (call to close method, error handling)
