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

Author Message
[View user's profile]

Joined: 2015-02-10
Posts: 2
Location: Russia
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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
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).

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License