Element "cwd" not found in the log file
Trying to upload a file I get this error message on session.Open(sessionOptions);
I've attached the log files.
SessionOptions sessionOptions = new SessionOptions
{
Protocol = Protocol.Sftp,
HostName = "virt01",
UserName = "root",
Password = "mypassword",
PortNumber = 22,
SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
};
// Connect
session.DebugLogPath = Environment.GetEnvironmentVariable("USERPROFILE") + "\\AppData\\Local\\Commander\\DebugLogPath.txt";
session.SessionLogPath = Environment.GetEnvironmentVariable("USERPROFILE") + "\\AppData\\Local\\Commander\\SessionLogPath.txt";
session.DisableVersionCheck = true;
session.Open(sessionOptions);
I've attached the log files.
SessionOptions sessionOptions = new SessionOptions
{
Protocol = Protocol.Sftp,
HostName = "virt01",
UserName = "root",
Password = "mypassword",
PortNumber = 22,
SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
};
// Connect
session.DebugLogPath = Environment.GetEnvironmentVariable("USERPROFILE") + "\\AppData\\Local\\Commander\\DebugLogPath.txt";
session.SessionLogPath = Environment.GetEnvironmentVariable("USERPROFILE") + "\\AppData\\Local\\Commander\\SessionLogPath.txt";
session.DisableVersionCheck = true;
session.Open(sessionOptions);