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: Error: Element "cwd" not found in the log file

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).
alex.khokhryakov1984

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

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