SFTP opendirectory exception issue/question
Posted: Tue 14 Dec 2010 17:30
Hi,
I am using the SFTP opedirectory command and when a directory does not exist it raises a exception, and I have it in a try except block and it does catch the exception, however it then raises again in the SFTP components error event and then it skips the Try finally in my code.
I am using the version from June 2010 and the SFTP and all SSH client are all using blocking mode.
Is there a way to suppress the errors going to the error event? I want to handle my own errors with try except blocks.
I am using the SFTP opedirectory command and when a directory does not exist it raises a exception, and I have it in a try except block and it does catch the exception, however it then raises again in the SFTP components error event and then it skips the Try finally in my code.
I am using the version from June 2010 and the SFTP and all SSH client are all using blocking mode.
Is there a way to suppress the errors going to the error event? I want to handle my own errors with try except blocks.