Re: sFTP Connection - WeOnlyDo Discussion board

Re: sFTP Connection (General questions)

by dhuangfu, Saturday, July 30, 2011, 13:15 (4652 days ago) @ wodDamir


I tried On Error Resume Next in my vbscript.
It just stop in the line Sftp.Connect
Do you have sample code for WeOnlyDo.error_handling?

my code: (It just printed point 0 and stopped.)


On Error Resume Next
...

prtLn point 0

Sftp.Connect

prtLn point 1
If Err.Number <> 0 Then prtErr error details...

Hi,

Can you please try handling this error, and the check up on the LastError property?

What does it return?

Regards,
Damba


Complete thread: