Hi
I'm using your latest commit 22965 and i still get af file not found error. The source file and destination directory exists.
I've tried:
Renci.SshNet.Common.ScpException was unhandled by user code
Message=scp: : No such file or directory
Source=Renci.SshNet
StackTrace:
Do you any suggestions to how to solve this problem?
Thanks
I'm using your latest commit 22965 and i still get af file not found error. The source file and destination directory exists.
I've tried:
client.Connect();
Stream filestream = new FileStream("filename.zip", FileMode.Open, FileAccess.Read);
client.Upload(filestream, "/dir/sdcard/");
filestream.Close();
client.Disconnect();
When i excecute the upload command i get an exception: "scp: : No such file or directory" in line 344 in ScpClient.csRenci.SshNet.Common.ScpException was unhandled by user code
Message=scp: : No such file or directory
Source=Renci.SshNet
StackTrace:
at Renci.SshNet.ScpClient.CheckReturnCode(Stream input)
at Renci.SshNet.ScpClient.Upload(Stream source, String path)
at LinkTest.LinkTestFixture.TestUploadLatestFirmwareToLink() in
C:\Users\k\Desktop\Link\Pc\trunk\LinkTest\LinkTest\LinkTestFixture.cs:line 184 InnerException: Do you any suggestions to how to solve this problem?
Thanks