FtpDLX.NET Error Handling (wodSFTP / wodSFTP.NET / wodSFTPdll)
I have a question about handling errors with the ftpDlx.net product. The documentation (e.g. for the PutFile method) says this:
If an error occurs during transfer, Done event will be fired immediately containing Args.Error with description for the error, and transfer will be aborted.
The docs don't mention anything about exceptions, but I do get exceptions when the Blocking property is set to TRUE.
Is catching exceptions enough to cover all error cases or should I also check the LastError property? (i.e. are there any errors that will NOT throw an exception when Blocking is TRUE)
Thanks!
Complete thread:
- FtpDLX.NET Error Handling - Erich, 2012-11-27, 00:06
- Re: FtpDLX.NET Error Handling - woddrazen, 2012-11-27, 09:41