Re: silent sftp - WeOnlyDo Discussion board

Re: silent sftp (General questions)

by Haarek Ryeng, Monday, November 08, 2004, 11:07 (7111 days ago) @ Haarek Ryeng

I have now overridden the Application objects OnHandleException event procedure.

It seems that the exception is caught here before it comes all the way out to the calling point.

Do you at any point in your code call the Abort() procedure, or in any other way excecute the Application.OnHandleException()?

- Haarek -

Theory: wodSFTP has a thread that throws an exception. since my calling thread is not the same thread the exception is handled by the application object. Later on the component detects the error and throws another exception of the same type that my calling thread receives.

I have some event handlers assigned (onDone and onConnected) even if I have set the blocking property.
Is there a way to run the PutData() in real blocking mode (no threads)?

This is crucial to me as my application is run as a service or as an unattended application that schedules sftp delivery tasks. Exception dialogs are not an option!


- Haarek -


Complete thread: