Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

The username in the path should be replaced with the actual username (amber).

(As you have referred to the C:\Users\username\AppData\Local\Temp above yourself, while really going to C:\Users\amber\..., I've assumed you understand that).
yve0789

Do what for session log?
Change the path?
Do I need to create folder or something?

I get this error now
Can't open log file 'C:\Users\username\AppData\Local\Temp\winscp.log'.
System Error. Code: 2.
The system cannot find the file specified
martin

None of these seem like WinSCP session log file.
But apparently your configuration for XML log works, as the XML logs are generated.
So do the same for the session log.
Use C:\Users\username\AppData\Local\Temp\winscp.log or something like that.
yve0789

I see this response, however I am not clear on "to a file with the same name as your WinSCP session" how do I know what my WinSCP session name is? I go here C:\Users\username\AppData\Local\Temp) and I see a bunch of files like this (screenshot). So would the file be an XML file with a different number? Can you provide a screenshot of what the file should look like or be named? I am still having trouble knowing exactly what to send you.
yve0789

How do I get there? I don't know where that is or how to find it. Is it on my computer or in WinSCP? I am not sure where to start or where to look for that path or log.
martin

The "session log", as mentioned above.
yve0789

OKay which log? This is what I see when I check where my logs go. Do I send the xml_file (341)? or what do I send?
martin

Re: Hello

I am still waiting for the log.
yve0789

Hello

Hi! I am still waiting for help on this.
yve0789

Still happening

Can someone send a video or step by step on how to fix this??
yve0789

Still happening

This is happening again; this time to the someone else. How do we fix this? Nothing was changed on our end, we have no idea how this was triggered. How do we turn it off asap?
martin

@yve0789: WinSCP stores the log, where you configured it to store it. If you have kept the default %TEMP%\!S.log, then it logs to your Windows account temporary directory (i.e. typically to C:\Users\username\AppData\Local\Temp) to a file with the same name as your WinSCP session. If you want WinSCP to log to a more convenient location, specify it in preferences.
yve0789

Update

Hi! Is there an update? I am trying to transfer a lot of files and I cant because of this password prompt.
yve0789

Hi! I already enabled logging; I need steps on how to find the logs to send.
Guest

I am having the same issue

I keep getting a password prompt and I am for sure putting in the right password. It never use to do this now it does it all the time. I turned on logging but can you provide the exact steps to find the logs. It's not making sense to me.
martin

Re: Infinite Password Prompt

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. 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.
JosephW

Infinite Password Prompt

Whenever I try to upload a file or download a file, it prompts me to enter the FTP password which when I enter my password, it just reappears over and over. I have got the password saved and it still keeps asking me. Any help?

I'm using the most recent version of WinSCP, Windows 11. I haven't had issues until about 2 weeks ago.