Topic "Access Denied with correct Userid/pwd"

Author Message
[View user's profile]

Joined: 2010-08-03
Posts: 10
Location: Bangalore

I get a access denied error while connecting through winscp scripting feature in 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")
End With
the WinSCP.ExitCode always gives a value of 1 even if the userid /pwd is correct.

Could you please help me on this.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26299
Location: Prague, Czechia
I do not know what the str6 and str8 variables contain. If they contain username/password, you need to pass then as arguments to open command.

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License