temporary file exception
I'm running this code using the 5.0.6 beta (portable version), and the .NET wrapper assembly.
The Open() call always fails trying to open a temporary file. It looks like .NET assembly is trying to open the same temporary file twice. I know the temporary file is already open because Process Explorer finds it open by the process even though the exception is thrown (so second open attempt has failed).
P.S. Running from Visual Studio, and portable edition of WinSCP.exe is placed in bin\Debug\SFTPTools\WinSCP.exe.
var options = new WinSCP.SessionOptions() { FtpSecure = WinSCP.FtpSecure.None , HostName = "wireless.fcc.gov" , Protocol = WinSCP.Protocol.Ftp }; WinSCP.Session session = new WinSCP.Session() { ExecutablePath = Path.Combine(Environment.CurrentDirectory, "SftpTools", "WinSCP.exe") }; session.Open(options);
The Open() call always fails trying to open a temporary file. It looks like .NET assembly is trying to open the same temporary file twice. I know the temporary file is already open because Process Explorer finds it open by the process even though the exception is thrown (so second open attempt has failed).
P.S. Running from Visual Studio, and portable edition of WinSCP.exe is placed in bin\Debug\SFTPTools\WinSCP.exe.