Thank you for your help.
Thank you for your reply.
Unfortunately I'm still needing to use VB6.
If an exception is created and there is no error handling will it cause the program to stop or will it continue?
If it continues then that's actually OK for me. The program will retry the directory listing every few minutes anyway and if it doesn't get a listing one time but gets one the next it is OK. My main concern is that the program doesn't stop.
If I want to capture any failures in a putfiles operation I use the following:
Set transferResult = scpsession.PutFiles(parameters)
Log "Failure count " & transferResult.failures.Count
I'm trying to capture the equivalent for session.listdirectory. The only
The only property of the RemoteDirectoryInfo class I can see is remotefileinfocollection.
Can I capture the amount of errors without using 'try/exception' functionality which isn't available in the language I'm using.