WinSCP process terminated with exit code 1.

Advertisement

rainmanec
Joined:
Posts:
11
Location:
China

WinSCP process terminated with exit code 1.

WinSCP process terminated with exit code 1. Error output was "Can't open log file 'C:\Users\Administrator\AppData\Local\Temp\1\wscp14A4.03F1F5CA.tmp'.
System Error.  Code: 2.
The system cannot find the file specified。
Error occurred during logging. Cannot continue.". Response log file C:\Users\Administrator\AppData\Local\Temp\1\wscp14A4.03F1F5CA.tmp was not created. This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.

This problem does not occur every time, restarting the application still exists, and need to restart the computer to solve it

Reply with quote

Advertisement

rainmanec
Joined:
Posts:
11
Location:
China

Re: WinSCP process terminated with exit code 1.

The directory C:\Users\Administrator\AppData\Local\Temp\1 does not exist.
After manually creating the directory, the program runs successfully.
Why WinSCP can not create folder automatically sometimes?
Thanks!

Reply with quote

martin
Site Admin
martin avatar

Re: WinSCP process terminated with exit code 1.

WinSCP does not create the directory. Why would it? It creates the log either implicitly in the the Windows temporary folder or to folder you tell it using Session.XmlLogPath.
If first case, the temporary folder must exists. If it does not, your machine is misconfigured and you must have lot of other problems. Or you told WinSCP explicitly to uses a non-existing path.

Reply with quote

Advertisement

You can post new topics in this forum