Script asks for password even though I do not have one configured

Advertisement

NewBieJeSuis
Guest

Script asks for password even though I do not have one configured

Hello,

When I try to run the commands individually, no password is asked and I can easily connect to the server.
However, when I put all the commands in one .bat script it asks me for the password to enter the server even though I do not have one configured.

Do I need to have a password configured?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,378
Location:
Prague, Czechia

Re: Script asks for password even though I do not have one configured

Please post session logs from both scenarios.

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum