Re: Impersonation and WinSCP
You can use
Session.XmlLogPath
to make it log to a folder you can write to.
Session.XmlLogPath
to make it log to a folder you can write to.
Please, download source code of WinSCP .NET assembly (dotnet
folder of WinSCP source code package).
Go todotnet\Internal\ExeSessionProcess.cs
. By the end ofExeSessionProcess
constructor code, whereProcess
instance is created, add
_process.StartInfo.UserName = ...;
_process.StartInfo.Password = ...;
Let us know if that helps.
dotnet
folder of WinSCP source code package).
dotnet\Internal\ExeSessionProcess.cs
. By the end of ExeSessionProcess
constructor code, where Process
instance is created, add
_process.StartInfo.UserName = ...;
_process.StartInfo.Password = ...;
How specifically do you run your application using impersonation?