Re: Exception thrown after IwodFtpDLXComPtr::Abort - WeOnlyDo Discussion board

Re: Exception thrown after IwodFtpDLXComPtr::Abort (General questions)

by jz1, Wednesday, June 28, 2006, 18:45 (6532 days ago) @ wodDrazen

Thanks for the quick reply. I'm wondering how to abort an operation since the PutFile call is blocking and the only place I can call the Abort method is from the event sink. When I call Abort, the PutFile throws an exception. It looks like the abort works ok. I'm perfectly happy catching the exception if this is the way it is supposed to work. But as you say and as the documentation says, the PutFile is supposed to return an error code. The documentation doesn't metion an exception. I just want to know if it is safe for me to perform the abort like this. Thanks again.

Joe


Complete thread: