Access Denied with correct Userid/pwd
Hi,
I get a access denied error while connecting through winscp scripting feature in vb.net although the password is correct. Thesame works perfect in console. Could you please let me know what is wrong in teh below code?
With WinSCP.StandardInput
.WriteLine("option transfer binary")
.WriteLine(str6)
.WriteLine(str8)
End With
WinSCP.StandardInput.Close()
WinSCP.WaitForExit()
the WinSCP.ExitCode always gives a value of 1 even if the userid /pwd is correct.
Could you please help me on this.
I get a access denied error while connecting through winscp scripting feature in vb.net although the password is correct. Thesame works perfect in console. Could you please let me know what is wrong in teh below code?
With WinSCP.StandardInput
.WriteLine("option transfer binary")
.WriteLine(str6)
.WriteLine(str8)
End With
WinSCP.StandardInput.Close()
WinSCP.WaitForExit()
the WinSCP.ExitCode always gives a value of 1 even if the userid /pwd is correct.
Could you please help me on this.