Get operation doesn't throw error when file is not found on server
I was doing some testing of my code.
It seems one of my Get operation (Which copies file from server to my local) is passed even if there is no file present in the server.
In the code below there is no error in this scenario.
It seems one of my Get operation (Which copies file from server to my local) is passed even if there is no file present in the server.
In the code below there is no error in this scenario.
Set transferResult = session.GetFiles("/read1.me", strTemp_File_Dir, False, transferOptions) If Err.Number <> 0 Then ' Disconnect, clean up MsgBox ("Got Error!!") session.dispose End If Err.Clear ' Restore default error handling On Error GoTo 0