As I have tried this solution but it's not working whenever error occurred in the PutFileAsync methos and also whenever an error occurred in the PutFileAsync it will throw a null exception so can you please help me with how I can handle this kind of exception? And I am using the 6.0.8 version of rebex.sftp.