Re: silent sftp - WeOnlyDo Discussion board

Re: silent sftp (General questions)

by Haarek Ryeng, Friday, November 05, 2004, 16:14 (7113 days ago) @ wodSupport

Haarek,

wodSFTP does not show message boxes - Delphi is! You should put calls that make these messageboxes arround some try...catch structure - and then handle the error by yourself. Otherwise, when Delphi handles it, it shows those message boxes.

Can you try that?

Regards,
Kreso

Web GUIs... I'll try again...

try
FSFTP.PutData(Stream.DataString,path);
except
FDone := true;
end;

I have a breakpoint on the line FDone := true;
A messagebox with the error text appears when executing PutData(...).
After I click OK the code continues to the breakpoint. The wodSFTP component is used in blocking mode.
A try...except block should catch pretty much every exception...

By the way - do you have a key load/generate tool? I'd like to test Key authorisation as well before I buy the component.

- Haarek -


Complete thread: