Topic "Error: Element "cwd" not found in the log file"

Author Message
alex.khokhryakov1984
[View user's profile]

Joined: 2015-02-10
Posts: 2
Location: Russia
Hello
I try to use WinSCP.dll in ps script on 2008r2 server
and see this error:
Exception: WinSCP.SessionLocalException: Element "cwd" not found in the log file
at WinSCP.CustomLogReader.WaitForNonEmptyElement(String localName, LogReadFlags flags)
at WinSCP.CustomLogReader.WaitForNonEmptyElementAndCreateLogReader(String localName, LogReadFlags flags)
at WinSCP.Session.Open(SessionOptions sessionOptions)

by the way i use 5.6 rc dll version where exist SshPrivateKeyPassphrase option

please help me
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
What version of WinSCP and WinSCP .NET assembly are you using?
My guess is that you are using the latest RC version of .NET assembly, but old version of WinSCP.

If this does not help, please attach a debug log of WinSCP .NET assembly (set Session.DebugLogPath).
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License