>
Mikael Karlsson <> wrote: > Sorry, wrong badmatch > guess it should be > > connect(Host, User, Password) -> > case catch connect1(Host, User, Password) of > {ok,Result} -> > {ok,Result}; > {'EXIT´,{ {badmatch,{error, Rsn}},_}} -> > {error, otp_ftp:formaterror(Rsn)} > end. I'm too scared of catching badmatch errors caused by other code that I'm calling, in the otp_ftp module :-) -Luke