Post a reply

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

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.
rainmanec

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!
martin

Re: WinSCP process terminated with exit code 1.

And does the folder C:\Users\Administrator\AppData\Local\Temp\1 exist?
rainmanec

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